Added dao base
All checks were successful
All checks were successful
This commit is contained in:
@@ -20,6 +20,10 @@ class ServiceProviderABC(ABC):
|
||||
def set_global_provider(cls, provider: "ServiceProviderABC"):
|
||||
cls._provider = provider
|
||||
|
||||
@classmethod
|
||||
def get_global_provider(cls) -> Optional["ServiceProviderABC"]:
|
||||
return cls._provider
|
||||
|
||||
@abstractmethod
|
||||
def _build_by_signature(self, sig: Signature, origin_service_type: type) -> list[R]:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user