Removed vs code file
This commit is contained in:
parent
6509f628ca
commit
d6b65c42cc
4
.gitignore
vendored
4
.gitignore
vendored
@ -138,6 +138,6 @@ dmypy.json
|
|||||||
# Cython debug symbols
|
# Cython debug symbols
|
||||||
cython_debug/
|
cython_debug/
|
||||||
|
|
||||||
# gismo
|
# custom vs code
|
||||||
g-env/
|
.vscode/PythonImportHelper-v2-Completion.json
|
||||||
|
|
||||||
|
185
.vscode/PythonImportHelper-v2-Completion.json
vendored
185
.vscode/PythonImportHelper-v2-Completion.json
vendored
@ -335,6 +335,14 @@
|
|||||||
"detail": "cpl_core.console",
|
"detail": "cpl_core.console",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "Console",
|
||||||
|
"importPath": "cpl_core.console",
|
||||||
|
"description": "cpl_core.console",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "cpl_core.console",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "ServiceProviderABC",
|
"label": "ServiceProviderABC",
|
||||||
"importPath": "cpl_core.dependency_injection",
|
"importPath": "cpl_core.dependency_injection",
|
||||||
@ -704,6 +712,38 @@
|
|||||||
"detail": "gismo_core.service.bot_service",
|
"detail": "gismo_core.service.bot_service",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "Optional",
|
||||||
|
"importPath": "typing",
|
||||||
|
"description": "typing",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "typing",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Optional",
|
||||||
|
"importPath": "typing",
|
||||||
|
"description": "typing",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "typing",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Union",
|
||||||
|
"importPath": "typing",
|
||||||
|
"description": "typing",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "typing",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Union",
|
||||||
|
"importPath": "typing",
|
||||||
|
"description": "typing",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "typing",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "BootLogExtension",
|
"label": "BootLogExtension",
|
||||||
"importPath": "modules.boot_log.boot_log_extension",
|
"importPath": "modules.boot_log.boot_log_extension",
|
||||||
@ -736,30 +776,6 @@
|
|||||||
"detail": "datetime",
|
"detail": "datetime",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"label": "Optional",
|
|
||||||
"importPath": "typing",
|
|
||||||
"description": "typing",
|
|
||||||
"isExtraImport": true,
|
|
||||||
"detail": "typing",
|
|
||||||
"documentation": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Union",
|
|
||||||
"importPath": "typing",
|
|
||||||
"description": "typing",
|
|
||||||
"isExtraImport": true,
|
|
||||||
"detail": "typing",
|
|
||||||
"documentation": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "Union",
|
|
||||||
"importPath": "typing",
|
|
||||||
"description": "typing",
|
|
||||||
"isExtraImport": true,
|
|
||||||
"detail": "typing",
|
|
||||||
"documentation": {}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"label": "MessageServiceABC",
|
"label": "MessageServiceABC",
|
||||||
"importPath": "gismo_core.abc.message_service_abc",
|
"importPath": "gismo_core.abc.message_service_abc",
|
||||||
@ -936,6 +952,38 @@
|
|||||||
"detail": "abc",
|
"detail": "abc",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "ABC",
|
||||||
|
"importPath": "abc",
|
||||||
|
"description": "abc",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "abstractmethod",
|
||||||
|
"importPath": "abc",
|
||||||
|
"description": "abc",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "ABC",
|
||||||
|
"importPath": "abc",
|
||||||
|
"description": "abc",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "abstractmethod",
|
||||||
|
"importPath": "abc",
|
||||||
|
"description": "abc",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "discord",
|
"label": "discord",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
@ -1009,14 +1057,6 @@
|
|||||||
"detail": "cpl_query.extension",
|
"detail": "cpl_query.extension",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"label": "List",
|
|
||||||
"importPath": "cpl_query.extension",
|
|
||||||
"description": "cpl_query.extension",
|
|
||||||
"isExtraImport": true,
|
|
||||||
"detail": "cpl_query.extension",
|
|
||||||
"documentation": {}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"label": "Context",
|
"label": "Context",
|
||||||
"importPath": "discord.ext.commands",
|
"importPath": "discord.ext.commands",
|
||||||
@ -1106,6 +1146,38 @@
|
|||||||
"detail": "cpl_core.configuration.configuration_abc",
|
"detail": "cpl_core.configuration.configuration_abc",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "asyncio",
|
||||||
|
"importPath": "async_timeout",
|
||||||
|
"description": "async_timeout",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "async_timeout",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "asyncio",
|
||||||
|
"importPath": "async_timeout",
|
||||||
|
"description": "async_timeout",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "async_timeout",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "OnReadyABC",
|
||||||
|
"importPath": "modules_core.abc.on_ready_abc",
|
||||||
|
"description": "modules_core.abc.on_ready_abc",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "modules_core.abc.on_ready_abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "OnReadyABC",
|
||||||
|
"importPath": "modules_core.abc.on_ready_abc",
|
||||||
|
"description": "modules_core.abc.on_ready_abc",
|
||||||
|
"isExtraImport": true,
|
||||||
|
"detail": "modules_core.abc.on_ready_abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "ApplicationExtensionABC",
|
"label": "ApplicationExtensionABC",
|
||||||
"importPath": "cpl_core.application.application_extension_abc",
|
"importPath": "cpl_core.application.application_extension_abc",
|
||||||
@ -1115,19 +1187,11 @@
|
|||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "EventsEnum",
|
"label": "OnMessageABC",
|
||||||
"importPath": "modules_core.events_enum",
|
"importPath": "modules_core.abc.on_message_abc",
|
||||||
"description": "modules_core.events_enum",
|
"description": "modules_core.abc.on_message_abc",
|
||||||
"isExtraImport": true,
|
"isExtraImport": true,
|
||||||
"detail": "modules_core.events_enum",
|
"detail": "modules_core.abc.on_message_abc",
|
||||||
"documentation": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "EventsEnum",
|
|
||||||
"importPath": "modules_core.events_enum",
|
|
||||||
"description": "modules_core.events_enum",
|
|
||||||
"isExtraImport": true,
|
|
||||||
"detail": "modules_core.events_enum",
|
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1233,6 +1297,15 @@
|
|||||||
"detail": "src.gismo.application",
|
"detail": "src.gismo.application",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "Main",
|
||||||
|
"kind": 6,
|
||||||
|
"importPath": "src.gismo.main",
|
||||||
|
"description": "src.gismo.main",
|
||||||
|
"peekOfCode": "class Main:\n def __init__(self):\n self._app: Optional[ApplicationABC] = None\n async def main(self):\n app_builder = ApplicationBuilder(Application)\n app_builder.use_extension(BootLogExtension)\n app_builder.use_startup(Startup)\n self._app: ApplicationABC = await app_builder.build_async()\n await self._app.run_async()\n async def stop(self):",
|
||||||
|
"detail": "src.gismo.main",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "Startup",
|
"label": "Startup",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
@ -1328,7 +1401,7 @@
|
|||||||
"kind": 6,
|
"kind": 6,
|
||||||
"importPath": "src.modules.boot_log.boot_log",
|
"importPath": "src.modules.boot_log.boot_log",
|
||||||
"description": "src.modules.boot_log.boot_log",
|
"description": "src.modules.boot_log.boot_log",
|
||||||
"peekOfCode": "class BootLog(ModuleABC):\n def __init__(\n self,\n config: ConfigurationABC,\n logging_st: LoggingSettings,\n logger: LoggerABC,\n bot: BotServiceABC,\n message_service: MessageServiceABC\n ):\n self._config = config",
|
"peekOfCode": "class BootLog(ModuleABC, OnReadyABC):\n def __init__(\n self,\n config: ConfigurationABC,\n logging_st: LoggingSettings,\n logger: LoggerABC,\n bot: BotServiceABC,\n message_service: MessageServiceABC\n ):\n self._config = config",
|
||||||
"detail": "src.modules.boot_log.boot_log",
|
"detail": "src.modules.boot_log.boot_log",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
@ -1346,7 +1419,7 @@
|
|||||||
"kind": 6,
|
"kind": 6,
|
||||||
"importPath": "src.modules_core.abc.module_abc",
|
"importPath": "src.modules_core.abc.module_abc",
|
||||||
"description": "src.modules_core.abc.module_abc",
|
"description": "src.modules_core.abc.module_abc",
|
||||||
"peekOfCode": "class ModuleABC(ABC):\n @abstractmethod\n def __init__(self): pass\n # @property\n # @abstractmethod\n # def events(self) -> List[EventsEnum]: pass",
|
"peekOfCode": "class ModuleABC(ABC):\n @abstractmethod\n def __init__(self): pass",
|
||||||
"detail": "src.modules_core.abc.module_abc",
|
"detail": "src.modules_core.abc.module_abc",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
@ -1359,12 +1432,30 @@
|
|||||||
"detail": "src.modules_core.abc.module_service_abc",
|
"detail": "src.modules_core.abc.module_service_abc",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "OnMessageABC",
|
||||||
|
"kind": 6,
|
||||||
|
"importPath": "src.modules_core.abc.on_message_abc",
|
||||||
|
"description": "src.modules_core.abc.on_message_abc",
|
||||||
|
"peekOfCode": "class OnMessageABC(ABC):\n @abstractmethod\n def __init__(self): pass\n @abstractmethod\n async def on_message(self, message: discord.Message): pass",
|
||||||
|
"detail": "src.modules_core.abc.on_message_abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "OnReadyABC",
|
||||||
|
"kind": 6,
|
||||||
|
"importPath": "src.modules_core.abc.on_ready_abc",
|
||||||
|
"description": "src.modules_core.abc.on_ready_abc",
|
||||||
|
"peekOfCode": "class OnReadyABC(ABC):\n @abstractmethod\n def __init__(self): pass\n @abstractmethod\n async def on_ready(self): pass",
|
||||||
|
"detail": "src.modules_core.abc.on_ready_abc",
|
||||||
|
"documentation": {}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "ModuleService",
|
"label": "ModuleService",
|
||||||
"kind": 6,
|
"kind": 6,
|
||||||
"importPath": "src.modules_core.service.module_service",
|
"importPath": "src.modules_core.service.module_service",
|
||||||
"description": "src.modules_core.service.module_service",
|
"description": "src.modules_core.service.module_service",
|
||||||
"peekOfCode": "class ModuleService(ModuleServiceABC):\n def __init__(self, logger: LoggerABC, services: ServiceProviderABC, env: ApplicationEnvironmentABC):\n self._logger = logger\n self._services = services\n self._env = env\n self._modules: List[ModuleABC] = List()\n self._modules.extend(ModuleABC.__subclasses__())\n async def on_ready(self):\n self._logger.debug(__name__, 'Start on_ready modules')\n modules = self._modules.where(lambda m: hasattr(m, EventsEnum.on_ready.value) and callable(m.on_ready))",
|
"peekOfCode": "class ModuleService(ModuleServiceABC):\n def __init__(self, logger: LoggerABC, services: ServiceProviderABC, env: ApplicationEnvironmentABC):\n self._logger = logger\n self._services = services\n self._env = env\n self._modules: List[ModuleABC] = List()\n self._modules.extend(ModuleABC.__subclasses__())\n async def on_ready(self):\n self._logger.debug(__name__, 'Start on_ready modules')\n modules = self._modules.where(lambda m: issubclass(m, OnReadyABC))",
|
||||||
"detail": "src.modules_core.service.module_service",
|
"detail": "src.modules_core.service.module_service",
|
||||||
"documentation": {}
|
"documentation": {}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user