2021.4.2 #12

Merged
edraft merged 22 commits from 2021.4.2 into 2021.4 2021-03-29 15:48:59 +02:00
3 changed files with 3 additions and 4 deletions
Showing only changes of commit 069e44bee6 - Show all commits

View File

@ -1,2 +1,3 @@
- dbContext!!! - dbContext!!!
- templates for better Di using! - templates for better Di using!
- app-runtime -> app-env

View File

@ -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
edraft marked this conversation as resolved Outdated

Direci import change to from cpl.configuration.configuration import Configuration

Direci import change to from cpl.configuration.configuration import Configuration
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

View File

@ -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: