2021.4 #19
@ -1,2 +1,3 @@
|
|||||||
- dbContext!!!
|
- dbContext!!!
|
||||||
- templates for better Di using!
|
- templates for better Di using!
|
||||||
|
- app-runtime -> app-env
|
@ -5,7 +5,6 @@ from cpl.application.application_builder_abc import ApplicationBuilderABC
|
|||||||
from cpl.application.application_runtime import ApplicationRuntime
|
from cpl.application.application_runtime import ApplicationRuntime
|
||||||
from cpl.application.startup_abc import StartupABC
|
from cpl.application.startup_abc import StartupABC
|
||||||
from cpl.configuration import Configuration
|
from cpl.configuration import Configuration
|
||||||
from cpl.dependency_injection import ServiceProvider
|
|
||||||
from cpl.dependency_injection.service_collection import ServiceCollection
|
from cpl.dependency_injection.service_collection import ServiceCollection
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,8 +82,7 @@ class ConfigurationABC(ABC):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def get_configuration(self, search_type: Union[str, Type[ConfigurationModelABC]]) -> Union[
|
def get_configuration(self, search_type: Union[str, Type[ConfigurationModelABC]]) -> Union[str, Callable[ConfigurationModelABC]]:
|
||||||
str, Callable[ConfigurationModelABC]]:
|
|
||||||
"""
|
"""
|
||||||
Returns value in configuration by given type
|
Returns value in configuration by given type
|
||||||
:param search_type:
|
:param search_type:
|
||||||
|
Loading…
Reference in New Issue
Block a user