Code refactoring p.1
This commit is contained in:
parent
3c0dd00a99
commit
069e44bee6
@ -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