2021.10 #41
4
docs/build/html/_sources/quickstart.md.txt
vendored
4
docs/build/html/_sources/quickstart.md.txt
vendored
@ -83,7 +83,7 @@ To create the sample project to the following:
|
|||||||
3. Add ```Console.select``` as follows:
|
3. Add ```Console.select``` as follows:
|
||||||
|
|
||||||
```py
|
```py
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@ -156,7 +156,7 @@ To create the sample project to the following:
|
|||||||
import random
|
import random
|
||||||
import string
|
import string
|
||||||
|
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def generate_password(letters: str, length: int) -> str:
|
def generate_password(letters: str, length: int) -> str:
|
||||||
|
@ -83,7 +83,7 @@ To create the sample project to the following:
|
|||||||
3. Add ```Console.select``` as follows:
|
3. Add ```Console.select``` as follows:
|
||||||
|
|
||||||
```py
|
```py
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@ -156,7 +156,7 @@ To create the sample project to the following:
|
|||||||
import random
|
import random
|
||||||
import string
|
import string
|
||||||
|
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def generate_password(letters: str, length: int) -> str:
|
def generate_password(letters: str, length: int) -> str:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
@ -16,8 +16,8 @@ class ConfigModelTemplate(TemplateFileABC):
|
|||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
class $Name(ConfigurationModelABC):
|
class $Name(ConfigurationModelABC):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@ class ApplicationTemplate(TemplateFileABC):
|
|||||||
self._name = 'application.py'
|
self._name = 'application.py'
|
||||||
self._path = path
|
self._path = path
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.application import ApplicationABC
|
from cpl_core.application import ApplicationABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class Application(ApplicationABC):
|
class Application(ApplicationABC):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
from cpl_cli._templates.template_file_abc import TemplateFileABC
|
||||||
|
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ class MainWithApplicationHostAndStartupTemplate(TemplateFileABC):
|
|||||||
import_pkg = f'{name}.'
|
import_pkg = f'{name}.'
|
||||||
|
|
||||||
self._value = textwrap.dedent(f"""\
|
self._value = textwrap.dedent(f"""\
|
||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from {import_pkg}application import Application
|
from {import_pkg}application import Application
|
||||||
from {import_pkg}startup import Startup
|
from {import_pkg}startup import Startup
|
||||||
@ -57,7 +57,7 @@ class MainWithApplicationBaseTemplate(TemplateFileABC):
|
|||||||
import_pkg = f'{name}.'
|
import_pkg = f'{name}.'
|
||||||
|
|
||||||
self._value = textwrap.dedent(f"""\
|
self._value = textwrap.dedent(f"""\
|
||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from {import_pkg}application import Application
|
from {import_pkg}application import Application
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ class MainWithoutApplicationBaseTemplate(TemplateFileABC):
|
|||||||
import_pkg = f'{name}.'
|
import_pkg = f'{name}.'
|
||||||
|
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@ -132,9 +132,9 @@ class MainWithDependencyInjection(TemplateFileABC):
|
|||||||
import_pkg = f'{name}.'
|
import_pkg = f'{name}.'
|
||||||
|
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.configuration import Configuration, ConfigurationABC
|
from cpl_core.configuration import Configuration, ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceCollection, ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceCollection, ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
def configure_configuration() -> ConfigurationABC:
|
def configure_configuration() -> ConfigurationABC:
|
||||||
|
@ -11,9 +11,9 @@ class StartupTemplate(TemplateFileABC):
|
|||||||
self._name = 'startup.py'
|
self._name = 'startup.py'
|
||||||
self._path = path
|
self._path = path
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.application import StartupABC
|
from cpl_core.application import StartupABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
from cpl_core.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
||||||
|
|
||||||
|
|
||||||
class Startup(StartupABC):
|
class Startup(StartupABC):
|
||||||
|
@ -11,10 +11,10 @@ class ApplicationTemplate(TemplateFileABC):
|
|||||||
self._name = 'application.py'
|
self._name = 'application.py'
|
||||||
self._path = path
|
self._path = path
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.application import ApplicationABC
|
from cpl_core.application import ApplicationABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class Application(ApplicationABC):
|
class Application(ApplicationABC):
|
||||||
|
@ -16,7 +16,7 @@ class MainWithApplicationHostAndStartupTemplate(TemplateFileABC):
|
|||||||
import_pkg = ''
|
import_pkg = ''
|
||||||
|
|
||||||
self._value = textwrap.dedent(f"""\
|
self._value = textwrap.dedent(f"""\
|
||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from {import_pkg}application import Application
|
from {import_pkg}application import Application
|
||||||
from {import_pkg}startup import Startup
|
from {import_pkg}startup import Startup
|
||||||
@ -58,7 +58,7 @@ class MainWithApplicationBaseTemplate(TemplateFileABC):
|
|||||||
import_pkg = ''
|
import_pkg = ''
|
||||||
|
|
||||||
self._value = textwrap.dedent(f"""\
|
self._value = textwrap.dedent(f"""\
|
||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from {import_pkg}application import Application
|
from {import_pkg}application import Application
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ class MainWithoutApplicationBaseTemplate(TemplateFileABC):
|
|||||||
self._path = path
|
self._path = path
|
||||||
|
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
@ -127,9 +127,9 @@ class MainWithDependencyInjection(TemplateFileABC):
|
|||||||
self._path = path
|
self._path = path
|
||||||
|
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.configuration import Configuration, ConfigurationABC
|
from cpl_core.configuration import Configuration, ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceCollection, ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceCollection, ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
def configure_configuration() -> ConfigurationABC:
|
def configure_configuration() -> ConfigurationABC:
|
||||||
|
@ -11,9 +11,9 @@ class StartupTemplate(TemplateFileABC):
|
|||||||
self._name = 'startup.py'
|
self._name = 'startup.py'
|
||||||
self._path = path
|
self._path = path
|
||||||
self._value = textwrap.dedent("""\
|
self._value = textwrap.dedent("""\
|
||||||
from cpl.application import StartupABC
|
from cpl_core.application import StartupABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
from cpl_core.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
||||||
|
|
||||||
|
|
||||||
class Startup(StartupABC):
|
class Startup(StartupABC):
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import os
|
import os
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.application.application_abc import ApplicationABC
|
from cpl_core.application.application_abc import ApplicationABC
|
||||||
from cpl.configuration.console_argument import ConsoleArgument
|
from cpl_core.configuration.console_argument import ConsoleArgument
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
from cpl_cli.command.add_service import AddService
|
from cpl_cli.command.add_service import AddService
|
||||||
from cpl_cli.command.build_service import BuildService
|
from cpl_cli.command.build_service import BuildService
|
||||||
from cpl_cli.command.custom_script_service import CustomScriptService
|
from cpl_cli.command.custom_script_service import CustomScriptService
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import traceback
|
import traceback
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl_cli.cli_settings_name_enum import CLISettingsNameEnum
|
from cpl_cli.cli_settings_name_enum import CLISettingsNameEnum
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,9 +3,9 @@ import os
|
|||||||
import textwrap
|
import textwrap
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli.configuration.build_settings import BuildSettings
|
from cpl_cli.configuration.build_settings import BuildSettings
|
||||||
from cpl_cli.configuration.project_settings import ProjectSettings
|
from cpl_cli.configuration.project_settings import ProjectSettings
|
||||||
|
@ -2,8 +2,8 @@ import os
|
|||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
||||||
|
|
||||||
|
@ -2,10 +2,10 @@ import os
|
|||||||
import textwrap
|
import textwrap
|
||||||
from collections import Callable
|
from collections import Callable
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli._templates.generate.init_template import InitTemplate
|
from cpl_cli._templates.generate.init_template import InitTemplate
|
||||||
from cpl_cli._templates.generate.abc_template import ABCTemplate
|
from cpl_cli._templates.generate.abc_template import ABCTemplate
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import textwrap
|
import textwrap
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl_cli.command_handler_service import CommandHandler
|
from cpl_cli.command_handler_service import CommandHandler
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
|
|
||||||
|
@ -5,11 +5,11 @@ import textwrap
|
|||||||
|
|
||||||
from packaging import version
|
from packaging import version
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl.utils.pip import Pip
|
from cpl_core.utils.pip import Pip
|
||||||
from cpl_cli.cli_settings import CLISettings
|
from cpl_cli.cli_settings import CLISettings
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli.configuration.build_settings import BuildSettings
|
from cpl_cli.configuration.build_settings import BuildSettings
|
||||||
|
@ -5,12 +5,12 @@ from typing import Optional
|
|||||||
|
|
||||||
from packaging import version
|
from packaging import version
|
||||||
|
|
||||||
import cpl
|
import cpl_core
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli.configuration.build_settings import BuildSettings
|
from cpl_cli.configuration.build_settings import BuildSettings
|
||||||
from cpl_cli.configuration.build_settings_name_enum import BuildSettingsNameEnum
|
from cpl_cli.configuration.build_settings_name_enum import BuildSettingsNameEnum
|
||||||
@ -96,7 +96,7 @@ class NewService(CommandABC):
|
|||||||
ProjectSettingsNameEnum.license_name.value: '',
|
ProjectSettingsNameEnum.license_name.value: '',
|
||||||
ProjectSettingsNameEnum.license_description.value: '',
|
ProjectSettingsNameEnum.license_description.value: '',
|
||||||
ProjectSettingsNameEnum.dependencies.value: [
|
ProjectSettingsNameEnum.dependencies.value: [
|
||||||
f'sh_cpl>={version.parse(cpl.__version__)}'
|
f'sh_cpl>={version.parse(cpl_core.__version__)}'
|
||||||
],
|
],
|
||||||
ProjectSettingsNameEnum.python_version.value: f'>={sys.version.split(" ")[0]}',
|
ProjectSettingsNameEnum.python_version.value: f'>={sys.version.split(" ")[0]}',
|
||||||
ProjectSettingsNameEnum.python_path.value: {
|
ProjectSettingsNameEnum.python_path.value: {
|
||||||
|
@ -3,10 +3,10 @@ import shutil
|
|||||||
import json
|
import json
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli.configuration import WorkspaceSettings, WorkspaceSettingsNameEnum
|
from cpl_cli.configuration import WorkspaceSettings, WorkspaceSettingsNameEnum
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@ import os
|
|||||||
import subprocess
|
import subprocess
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl.utils.pip import Pip
|
from cpl_core.utils.pip import Pip
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli.configuration.build_settings import BuildSettings
|
from cpl_cli.configuration.build_settings import BuildSettings
|
||||||
from cpl_cli.configuration.project_settings import ProjectSettings
|
from cpl_cli.configuration.project_settings import ProjectSettings
|
||||||
|
@ -3,11 +3,11 @@ import os
|
|||||||
import subprocess
|
import subprocess
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl.utils.pip import Pip
|
from cpl_core.utils.pip import Pip
|
||||||
from cpl_cli.cli_settings import CLISettings
|
from cpl_cli.cli_settings import CLISettings
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
from cpl_cli.configuration import BuildSettings
|
from cpl_cli.configuration import BuildSettings
|
||||||
|
@ -4,10 +4,10 @@ import platform
|
|||||||
import pkg_resources
|
import pkg_resources
|
||||||
import textwrap
|
import textwrap
|
||||||
|
|
||||||
import cpl
|
|
||||||
import cpl_cli
|
import cpl_cli
|
||||||
from cpl.console.console import Console
|
import cpl_core
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.console import Console
|
||||||
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl_cli.command_abc import CommandABC
|
from cpl_cli.command_abc import CommandABC
|
||||||
|
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ class VersionService(CommandABC):
|
|||||||
|
|
||||||
Console.write_line('\nCPL packages:')
|
Console.write_line('\nCPL packages:')
|
||||||
packages = []
|
packages = []
|
||||||
for importer, modname, is_pkg in pkgutil.iter_modules(cpl.__path__):
|
for importer, modname, is_pkg in pkgutil.iter_modules(cpl_core.__path__):
|
||||||
module = importer.find_module(modname).load_module(modname)
|
module = importer.find_module(modname).load_module(modname)
|
||||||
if '__version__' in dir(module):
|
if '__version__' in dir(module):
|
||||||
packages.append([f'{modname}', module.__version__])
|
packages.append([f'{modname}', module.__version__])
|
||||||
|
@ -2,10 +2,10 @@ import os
|
|||||||
from abc import ABC
|
from abc import ABC
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli.command.custom_script_service import CustomScriptService
|
from cpl_cli.command.custom_script_service import CustomScriptService
|
||||||
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
||||||
from cpl_cli.error import Error
|
from cpl_cli.error import Error
|
||||||
|
@ -2,9 +2,9 @@ import sys
|
|||||||
import traceback
|
import traceback
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl_cli.configuration.build_settings_name_enum import BuildSettingsNameEnum
|
from cpl_cli.configuration.build_settings_name_enum import BuildSettingsNameEnum
|
||||||
from cpl_cli.configuration.project_type_enum import ProjectTypeEnum
|
from cpl_cli.configuration.project_type_enum import ProjectTypeEnum
|
||||||
|
|
||||||
|
@ -3,9 +3,9 @@ import sys
|
|||||||
import traceback
|
import traceback
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl_cli.configuration.version_settings import VersionSettings
|
from cpl_cli.configuration.version_settings import VersionSettings
|
||||||
from cpl_cli.configuration.project_settings_name_enum import ProjectSettingsNameEnum
|
from cpl_cli.configuration.project_settings_name_enum import ProjectSettingsNameEnum
|
||||||
from cpl_cli.error import Error
|
from cpl_cli.error import Error
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl_cli.configuration.version_settings_name_enum import VersionSettingsNameEnum
|
from cpl_cli.configuration.version_settings_name_enum import VersionSettingsNameEnum
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import traceback
|
import traceback
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
|
|
||||||
|
|
||||||
class Error:
|
class Error:
|
||||||
|
@ -6,8 +6,8 @@ import psutil as psutil
|
|||||||
from watchdog.events import FileSystemEventHandler
|
from watchdog.events import FileSystemEventHandler
|
||||||
from watchdog.observers import Observer
|
from watchdog.observers import Observer
|
||||||
|
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl_cli.configuration.build_settings import BuildSettings
|
from cpl_cli.configuration.build_settings import BuildSettings
|
||||||
from cpl_cli.configuration.project_settings import ProjectSettings
|
from cpl_cli.configuration.project_settings import ProjectSettings
|
||||||
from cpl_cli.live_server.live_server_thread import LiveServerThread
|
from cpl_cli.live_server.live_server_thread import LiveServerThread
|
||||||
|
@ -4,9 +4,9 @@ import sys
|
|||||||
import threading
|
import threading
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl_cli.configuration import BuildSettings
|
from cpl_cli.configuration import BuildSettings
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.application.application_builder import ApplicationBuilder
|
from cpl_core.application.application_builder import ApplicationBuilder
|
||||||
from cpl_cli.cli import CLI
|
from cpl_cli.cli import CLI
|
||||||
from cpl_cli.startup import Startup
|
from cpl_cli.startup import Startup
|
||||||
|
|
||||||
|
@ -7,10 +7,10 @@ import setuptools
|
|||||||
from packaging import version
|
from packaging import version
|
||||||
from setuptools import sandbox
|
from setuptools import sandbox
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl_cli.configuration.build_settings import BuildSettings
|
from cpl_cli.configuration.build_settings import BuildSettings
|
||||||
from cpl_cli.configuration.project_settings import ProjectSettings
|
from cpl_cli.configuration.project_settings import ProjectSettings
|
||||||
from cpl_cli.publish.publisher_abc import PublisherABC
|
from cpl_cli.publish.publisher_abc import PublisherABC
|
||||||
|
@ -2,9 +2,9 @@ import json
|
|||||||
import os
|
import os
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
||||||
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
||||||
from cpl_cli.source_creator.template_builder import TemplateBuilder
|
from cpl_cli.source_creator.template_builder import TemplateBuilder
|
||||||
|
@ -2,9 +2,9 @@ import json
|
|||||||
import os
|
import os
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.utils.string import String
|
from cpl_core.utils.string import String
|
||||||
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
from cpl_cli.configuration.workspace_settings import WorkspaceSettings
|
||||||
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
from cpl_cli.configuration.workspace_settings_name_enum import WorkspaceSettingsNameEnum
|
||||||
from cpl_cli.source_creator.template_builder import TemplateBuilder
|
from cpl_cli.source_creator.template_builder import TemplateBuilder
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import os
|
import os
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.application.startup_abc import StartupABC
|
from cpl_core.application.startup_abc import StartupABC
|
||||||
from cpl.configuration.console_argument import ConsoleArgument
|
from cpl_core.configuration.console_argument import ConsoleArgument
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.dependency_injection.service_collection_abc import ServiceCollectionABC
|
from cpl_core.dependency_injection.service_collection_abc import ServiceCollectionABC
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl_cli.command.add_service import AddService
|
from cpl_cli.command.add_service import AddService
|
||||||
from cpl_cli.command.build_service import BuildService
|
from cpl_cli.command.build_service import BuildService
|
||||||
from cpl_cli.command.custom_script_service import CustomScriptService
|
from cpl_cli.command.custom_script_service import CustomScriptService
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl.environment import ApplicationEnvironmentABC
|
from cpl_core.environment import ApplicationEnvironmentABC
|
||||||
|
|
||||||
|
|
||||||
class ApplicationABC(ABC):
|
class ApplicationABC(ABC):
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
from typing import Type, Optional
|
from typing import Type, Optional
|
||||||
|
|
||||||
from cpl.application.application_abc import ApplicationABC
|
from cpl_core.application.application_abc import ApplicationABC
|
||||||
from cpl.application.application_builder_abc import ApplicationBuilderABC
|
from cpl_core.application.application_builder_abc import ApplicationBuilderABC
|
||||||
from cpl.application.startup_abc import StartupABC
|
from cpl_core.application.startup_abc import StartupABC
|
||||||
from cpl.configuration.configuration import Configuration
|
from cpl_core.configuration.configuration import Configuration
|
||||||
from cpl.dependency_injection.service_collection import ServiceCollection
|
from cpl_core.dependency_injection.service_collection import ServiceCollection
|
||||||
|
|
||||||
|
|
||||||
class ApplicationBuilder(ApplicationBuilderABC):
|
class ApplicationBuilder(ApplicationBuilderABC):
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
from typing import Type
|
from typing import Type
|
||||||
|
|
||||||
from cpl.application.application_abc import ApplicationABC
|
from cpl_core.application.application_abc import ApplicationABC
|
||||||
from cpl.application.startup_abc import StartupABC
|
from cpl_core.application.startup_abc import StartupABC
|
||||||
|
|
||||||
|
|
||||||
class ApplicationBuilderABC(ABC):
|
class ApplicationBuilderABC(ABC):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from abc import ABC, abstractmethod
|
from abc import ABC, abstractmethod
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class StartupABC(ABC):
|
class StartupABC(ABC):
|
||||||
|
@ -4,15 +4,15 @@ import sys
|
|||||||
from collections import Callable
|
from collections import Callable
|
||||||
from typing import Union, Type, Optional
|
from typing import Union, Type, Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.configuration.configuration_variable_name_enum import ConfigurationVariableNameEnum
|
from cpl_core.configuration.configuration_variable_name_enum import ConfigurationVariableNameEnum
|
||||||
from cpl.configuration.console_argument import ConsoleArgument
|
from cpl_core.configuration.console_argument import ConsoleArgument
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.environment.application_environment import ApplicationEnvironment
|
from cpl_core.environment.application_environment import ApplicationEnvironment
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl.environment.environment_name_enum import EnvironmentNameEnum
|
from cpl_core.environment.environment_name_enum import EnvironmentNameEnum
|
||||||
|
|
||||||
|
|
||||||
class Configuration(ConfigurationABC):
|
class Configuration(ConfigurationABC):
|
||||||
|
@ -2,9 +2,9 @@ from abc import abstractmethod, ABC
|
|||||||
from collections import Callable
|
from collections import Callable
|
||||||
from typing import Type, Union, Optional
|
from typing import Type, Union, Optional
|
||||||
|
|
||||||
from cpl.configuration.console_argument import ConsoleArgument
|
from cpl_core.configuration.console_argument import ConsoleArgument
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
|
|
||||||
|
|
||||||
class ConfigurationABC(ABC):
|
class ConfigurationABC(ABC):
|
||||||
|
@ -11,10 +11,10 @@ from pynput.keyboard import Key
|
|||||||
from tabulate import tabulate
|
from tabulate import tabulate
|
||||||
from termcolor import colored
|
from termcolor import colored
|
||||||
|
|
||||||
from cpl.console.background_color_enum import BackgroundColorEnum
|
from cpl_core.console.background_color_enum import BackgroundColorEnum
|
||||||
from cpl.console.console_call import ConsoleCall
|
from cpl_core.console.console_call import ConsoleCall
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.console.spinner_thread import SpinnerThread
|
from cpl_core.console.spinner_thread import SpinnerThread
|
||||||
|
|
||||||
|
|
||||||
class Console:
|
class Console:
|
||||||
|
@ -5,8 +5,8 @@ import time
|
|||||||
|
|
||||||
from termcolor import colored
|
from termcolor import colored
|
||||||
|
|
||||||
from cpl.console.background_color_enum import BackgroundColorEnum
|
from cpl_core.console.background_color_enum import BackgroundColorEnum
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
|
|
||||||
|
|
||||||
class SpinnerThread(threading.Thread):
|
class SpinnerThread(threading.Thread):
|
||||||
|
@ -3,10 +3,10 @@ from typing import Optional
|
|||||||
from sqlalchemy import engine, create_engine
|
from sqlalchemy import engine, create_engine
|
||||||
from sqlalchemy.orm import Session, sessionmaker
|
from sqlalchemy.orm import Session, sessionmaker
|
||||||
|
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.database.connection.database_connection_abc import DatabaseConnectionABC
|
from cpl_core.database.connection.database_connection_abc import DatabaseConnectionABC
|
||||||
from cpl.database.database_settings import DatabaseSettings
|
from cpl_core.database.database_settings import DatabaseSettings
|
||||||
|
|
||||||
|
|
||||||
class DatabaseConnection(DatabaseConnectionABC):
|
class DatabaseConnection(DatabaseConnectionABC):
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
from sqlalchemy import engine, Table
|
from sqlalchemy import engine, Table
|
||||||
from sqlalchemy.orm import Session
|
from sqlalchemy.orm import Session
|
||||||
|
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.database.connection.database_connection import DatabaseConnection
|
from cpl_core.database.connection.database_connection import DatabaseConnection
|
||||||
from cpl.database.connection.database_connection_abc import DatabaseConnectionABC
|
from cpl_core.database.connection.database_connection_abc import DatabaseConnectionABC
|
||||||
from cpl.database.context.database_context_abc import DatabaseContextABC
|
from cpl_core.database.context.database_context_abc import DatabaseContextABC
|
||||||
from cpl.database.database_settings import DatabaseSettings
|
from cpl_core.database.database_settings import DatabaseSettings
|
||||||
from cpl.database.database_model import DatabaseModel
|
from cpl_core.database.database_model import DatabaseModel
|
||||||
|
|
||||||
|
|
||||||
class DatabaseContext(DatabaseContextABC):
|
class DatabaseContext(DatabaseContextABC):
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import traceback
|
import traceback
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.database.database_settings_name_enum import DatabaseSettingsNameEnum
|
from cpl_core.database.database_settings_name_enum import DatabaseSettingsNameEnum
|
||||||
|
|
||||||
|
|
||||||
class DatabaseSettings(ConfigurationModelABC):
|
class DatabaseSettings(ConfigurationModelABC):
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
from typing import Union, Type, Callable, Optional
|
from typing import Union, Type, Callable, Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.database.database_settings import DatabaseSettings
|
from cpl_core.database.database_settings import DatabaseSettings
|
||||||
from cpl.database.context.database_context_abc import DatabaseContextABC
|
from cpl_core.database.context.database_context_abc import DatabaseContextABC
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl.dependency_injection.service_collection_abc import ServiceCollectionABC
|
from cpl_core.dependency_injection.service_collection_abc import ServiceCollectionABC
|
||||||
from cpl.dependency_injection.service_descriptor import ServiceDescriptor
|
from cpl_core.dependency_injection.service_descriptor import ServiceDescriptor
|
||||||
from cpl.dependency_injection.service_lifetime_enum import ServiceLifetimeEnum
|
from cpl_core.dependency_injection.service_lifetime_enum import ServiceLifetimeEnum
|
||||||
from cpl.dependency_injection.service_provider import ServiceProvider
|
from cpl_core.dependency_injection.service_provider import ServiceProvider
|
||||||
from cpl.logging.logger_service import Logger
|
from cpl_core.logging.logger_service import Logger
|
||||||
from cpl.logging.logger_abc import LoggerABC
|
from cpl_core.logging.logger_abc import LoggerABC
|
||||||
from cpl.utils.credential_manager import CredentialManager
|
from cpl_core.utils.credential_manager import CredentialManager
|
||||||
|
|
||||||
|
|
||||||
class ServiceCollection(ServiceCollectionABC):
|
class ServiceCollection(ServiceCollectionABC):
|
||||||
|
@ -2,9 +2,9 @@ from abc import abstractmethod, ABC
|
|||||||
from collections import Callable
|
from collections import Callable
|
||||||
from typing import Type
|
from typing import Type
|
||||||
|
|
||||||
from cpl.database.database_settings import DatabaseSettings
|
from cpl_core.database.database_settings import DatabaseSettings
|
||||||
from cpl.database.context.database_context_abc import DatabaseContextABC
|
from cpl_core.database.context.database_context_abc import DatabaseContextABC
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class ServiceCollectionABC(ABC):
|
class ServiceCollectionABC(ABC):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from typing import Union, Optional
|
from typing import Union, Optional
|
||||||
|
|
||||||
from cpl.dependency_injection.service_lifetime_enum import ServiceLifetimeEnum
|
from cpl_core.dependency_injection.service_lifetime_enum import ServiceLifetimeEnum
|
||||||
|
|
||||||
|
|
||||||
class ServiceDescriptor:
|
class ServiceDescriptor:
|
||||||
|
@ -2,13 +2,13 @@ from collections import Callable
|
|||||||
from inspect import signature, Parameter
|
from inspect import signature, Parameter
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.database.context.database_context_abc import DatabaseContextABC
|
from cpl_core.database.context.database_context_abc import DatabaseContextABC
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl.dependency_injection.service_descriptor import ServiceDescriptor
|
from cpl_core.dependency_injection.service_descriptor import ServiceDescriptor
|
||||||
from cpl.dependency_injection.service_lifetime_enum import ServiceLifetimeEnum
|
from cpl_core.dependency_injection.service_lifetime_enum import ServiceLifetimeEnum
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
|
|
||||||
|
|
||||||
class ServiceProvider(ServiceProviderABC):
|
class ServiceProvider(ServiceProviderABC):
|
||||||
|
@ -3,8 +3,8 @@ from datetime import datetime
|
|||||||
from socket import gethostname
|
from socket import gethostname
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl.environment.environment_name_enum import EnvironmentNameEnum
|
from cpl_core.environment.environment_name_enum import EnvironmentNameEnum
|
||||||
|
|
||||||
|
|
||||||
class ApplicationEnvironment(ApplicationEnvironmentABC):
|
class ApplicationEnvironment(ApplicationEnvironmentABC):
|
||||||
|
@ -3,13 +3,13 @@ import os
|
|||||||
import traceback
|
import traceback
|
||||||
from string import Template
|
from string import Template
|
||||||
|
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl.logging.logger_abc import LoggerABC
|
from cpl_core.logging.logger_abc import LoggerABC
|
||||||
from cpl.logging.logging_level_enum import LoggingLevelEnum
|
from cpl_core.logging.logging_level_enum import LoggingLevelEnum
|
||||||
from cpl.logging.logging_settings import LoggingSettings
|
from cpl_core.logging.logging_settings import LoggingSettings
|
||||||
from cpl.time.time_format_settings import TimeFormatSettings
|
from cpl_core.time.time_format_settings import TimeFormatSettings
|
||||||
|
|
||||||
|
|
||||||
class Logger(LoggerABC):
|
class Logger(LoggerABC):
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import traceback
|
import traceback
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.logging.logging_level_enum import LoggingLevelEnum
|
from cpl_core.logging.logging_level_enum import LoggingLevelEnum
|
||||||
from cpl.logging.logging_settings_name_enum import LoggingSettingsNameEnum
|
from cpl_core.logging.logging_settings_name_enum import LoggingSettingsNameEnum
|
||||||
|
|
||||||
|
|
||||||
class LoggingSettings(ConfigurationModelABC):
|
class LoggingSettings(ConfigurationModelABC):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from abc import abstractmethod, ABC
|
from abc import abstractmethod, ABC
|
||||||
|
|
||||||
from cpl.mailing.email import EMail
|
from cpl_core.mailing.email import EMail
|
||||||
|
|
||||||
|
|
||||||
class EMailClientABC(ABC):
|
class EMailClientABC(ABC):
|
||||||
|
@ -2,12 +2,12 @@ import ssl
|
|||||||
from smtplib import SMTP
|
from smtplib import SMTP
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.environment.application_environment_abc import ApplicationEnvironmentABC
|
from cpl_core.environment.application_environment_abc import ApplicationEnvironmentABC
|
||||||
from cpl.logging.logger_abc import LoggerABC
|
from cpl_core.logging.logger_abc import LoggerABC
|
||||||
from cpl.mailing.email import EMail
|
from cpl_core.mailing.email import EMail
|
||||||
from cpl.mailing.email_client_abc import EMailClientABC
|
from cpl_core.mailing.email_client_abc import EMailClientABC
|
||||||
from cpl.mailing.email_client_settings import EMailClientSettings
|
from cpl_core.mailing.email_client_settings import EMailClientSettings
|
||||||
from cpl.utils.credential_manager import CredentialManager
|
from cpl_core.utils.credential_manager import CredentialManager
|
||||||
|
|
||||||
|
|
||||||
class EMailClient(EMailClientABC):
|
class EMailClient(EMailClientABC):
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.mailing.email_client_settings_name_enum import EMailClientSettingsNameEnum
|
from cpl_core.mailing.email_client_settings_name_enum import EMailClientSettingsNameEnum
|
||||||
|
|
||||||
|
|
||||||
class EMailClientSettings(ConfigurationModelABC):
|
class EMailClientSettings(ConfigurationModelABC):
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import traceback
|
import traceback
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.configuration.configuration_model_abc import ConfigurationModelABC
|
from cpl_core.configuration.configuration_model_abc import ConfigurationModelABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.console.foreground_color_enum import ForegroundColorEnum
|
from cpl_core.console.foreground_color_enum import ForegroundColorEnum
|
||||||
from cpl.time.time_format_settings_names_enum import TimeFormatSettingsNamesEnum
|
from cpl_core.time.time_format_settings_names_enum import TimeFormatSettingsNamesEnum
|
||||||
|
|
||||||
|
|
||||||
class TimeFormatSettings(ConfigurationModelABC):
|
class TimeFormatSettings(ConfigurationModelABC):
|
||||||
|
@ -2,7 +2,7 @@ import string
|
|||||||
import unittest
|
import unittest
|
||||||
from random import randint
|
from random import randint
|
||||||
|
|
||||||
from cpl.utils import String
|
from cpl_core.utils import String
|
||||||
from cpl_query.exceptions import InvalidTypeException, ArgumentNoneException
|
from cpl_query.exceptions import InvalidTypeException, ArgumentNoneException
|
||||||
from cpl_query.extension.list import List
|
from cpl_query.extension.list import List
|
||||||
from cpl_query.tests.models import User, Address
|
from cpl_query.tests.models import User, Address
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import time
|
import time
|
||||||
from cpl.console import Console, ForegroundColorEnum
|
from cpl_core.console import Console, ForegroundColorEnum
|
||||||
|
|
||||||
|
|
||||||
def test_spinner():
|
def test_spinner():
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.application import ApplicationABC
|
from cpl_core.application import ApplicationABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
from cpl.logging import LoggerABC
|
from cpl_core.logging import LoggerABC
|
||||||
from model.user_repo_abc import UserRepoABC
|
from model.user_repo_abc import UserRepoABC
|
||||||
from model.user_repo import UserRepo
|
from model.user_repo import UserRepo
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from application import Application
|
from application import Application
|
||||||
from startup import Startup
|
from startup import Startup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from sqlalchemy import Column, Integer, String
|
from sqlalchemy import Column, Integer, String
|
||||||
|
|
||||||
from cpl.database import DatabaseModel
|
from cpl_core.database import DatabaseModel
|
||||||
|
|
||||||
|
|
||||||
class CityModel(DatabaseModel):
|
class CityModel(DatabaseModel):
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
from cpl.database import DatabaseSettings
|
from cpl_core.database import DatabaseSettings
|
||||||
from cpl.database.context import DatabaseContext
|
from cpl_core.database.context import DatabaseContext
|
||||||
|
|
||||||
|
|
||||||
class DBContext(DatabaseContext):
|
class DBContext(DatabaseContext):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from sqlalchemy import Column, Integer, String, ForeignKey
|
from sqlalchemy import Column, Integer, String, ForeignKey
|
||||||
from sqlalchemy.orm import relationship
|
from sqlalchemy.orm import relationship
|
||||||
|
|
||||||
from cpl.database import DatabaseModel
|
from cpl_core.database import DatabaseModel
|
||||||
from .city_model import CityModel
|
from .city_model import CityModel
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.database.context import DatabaseContextABC
|
from cpl_core.database.context import DatabaseContextABC
|
||||||
from .city_model import CityModel
|
from .city_model import CityModel
|
||||||
from .user_model import UserModel
|
from .user_model import UserModel
|
||||||
from .user_repo_abc import UserRepoABC
|
from .user_repo_abc import UserRepoABC
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
from cpl.application import StartupABC
|
from cpl_core.application import StartupABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.database import DatabaseSettings
|
from cpl_core.database import DatabaseSettings
|
||||||
from cpl.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
from cpl_core.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
||||||
from cpl.logging import LoggerABC, Logger
|
from cpl_core.logging import LoggerABC, Logger
|
||||||
from model.db_context import DBContext
|
from model.db_context import DBContext
|
||||||
from model.user_repo import UserRepo
|
from model.user_repo import UserRepo
|
||||||
from model.user_repo_abc import UserRepoABC
|
from model.user_repo_abc import UserRepoABC
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
import time
|
import time
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from cpl.application.application_abc import ApplicationABC
|
from cpl_core.application.application_abc import ApplicationABC
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl.logging.logger_abc import LoggerABC
|
from cpl_core.logging.logger_abc import LoggerABC
|
||||||
from cpl.mailing.email import EMail
|
from cpl_core.mailing.email import EMail
|
||||||
from cpl.mailing.email_client_abc import EMailClientABC
|
from cpl_core.mailing.email_client_abc import EMailClientABC
|
||||||
from test_service import TestService
|
from test_service import TestService
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.application.application_builder import ApplicationBuilder
|
from cpl_core.application.application_builder import ApplicationBuilder
|
||||||
from application import Application
|
from application import Application
|
||||||
from startup import Startup
|
from startup import Startup
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
from cpl.application.startup_abc import StartupABC
|
from cpl_core.application.startup_abc import StartupABC
|
||||||
from cpl.configuration.configuration_abc import ConfigurationABC
|
from cpl_core.configuration.configuration_abc import ConfigurationABC
|
||||||
from cpl.dependency_injection.service_collection_abc import ServiceCollectionABC
|
from cpl_core.dependency_injection.service_collection_abc import ServiceCollectionABC
|
||||||
from cpl.dependency_injection.service_provider_abc import ServiceProviderABC
|
from cpl_core.dependency_injection.service_provider_abc import ServiceProviderABC
|
||||||
from cpl.logging.logger_service import Logger
|
from cpl_core.logging.logger_service import Logger
|
||||||
from cpl.logging.logger_abc import LoggerABC
|
from cpl_core.logging.logger_abc import LoggerABC
|
||||||
from cpl.mailing.email_client_service import EMailClient
|
from cpl_core.mailing.email_client_service import EMailClient
|
||||||
from cpl.mailing.email_client_abc import EMailClientABC
|
from cpl_core.mailing.email_client_abc import EMailClientABC
|
||||||
from test_service import TestService
|
from test_service import TestService
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from abc import ABC
|
from abc import ABC
|
||||||
|
|
||||||
from cpl.console.console import Console
|
from cpl_core.console.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class TestService(ABC):
|
class TestService(ABC):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from cpl.application import ApplicationABC
|
from cpl_core.application import ApplicationABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class Application(ApplicationABC):
|
class Application(ApplicationABC):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from application import Application
|
from application import Application
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from cpl.application import ApplicationABC
|
from cpl_core.application import ApplicationABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class Application(ApplicationABC):
|
class Application(ApplicationABC):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from simple_app.application import Application
|
from simple_app.application import Application
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from cpl.configuration import Configuration, ConfigurationABC
|
from cpl_core.configuration import Configuration, ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceCollection, ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceCollection, ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
def configure_configuration() -> ConfigurationABC:
|
def configure_configuration() -> ConfigurationABC:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from cpl.configuration import Configuration, ConfigurationABC
|
from cpl_core.configuration import Configuration, ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceCollection, ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceCollection, ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
def configure_configuration() -> ConfigurationABC:
|
def configure_configuration() -> ConfigurationABC:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from cpl.application import ApplicationABC
|
from cpl_core.application import ApplicationABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class Application(ApplicationABC):
|
class Application(ApplicationABC):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from simple_startup_app.application import Application
|
from simple_startup_app.application import Application
|
||||||
from simple_startup_app.startup import Startup
|
from simple_startup_app.startup import Startup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from cpl.application import StartupABC
|
from cpl_core.application import StartupABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
from cpl_core.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
||||||
|
|
||||||
|
|
||||||
class Startup(StartupABC):
|
class Startup(StartupABC):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from cpl.application import ApplicationABC
|
from cpl_core.application import ApplicationABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.console import Console
|
from cpl_core.console import Console
|
||||||
from cpl.dependency_injection import ServiceProviderABC
|
from cpl_core.dependency_injection import ServiceProviderABC
|
||||||
|
|
||||||
|
|
||||||
class Application(ApplicationABC):
|
class Application(ApplicationABC):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from cpl.application import ApplicationBuilder
|
from cpl_core.application import ApplicationBuilder
|
||||||
|
|
||||||
from application import Application
|
from application import Application
|
||||||
from startup import Startup
|
from startup import Startup
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from cpl.application import StartupABC
|
from cpl_core.application import StartupABC
|
||||||
from cpl.configuration import ConfigurationABC
|
from cpl_core.configuration import ConfigurationABC
|
||||||
from cpl.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
from cpl_core.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
||||||
|
|
||||||
|
|
||||||
class Startup(StartupABC):
|
class Startup(StartupABC):
|
||||||
|
Loading…
Reference in New Issue
Block a user