Skip to content

Instantly share code, notes, and snippets.

@Vashkatsi
Vashkatsi / Python Repository
Created October 1, 2024 13:11
Python Repository
from abc import ABC, abstractmethod
class AbstractRepository(ABC):
def __init__(self, model_class):
self.model_class = model_class
@abstractmethod
def get(self, **kwargs):
pass