Cleaned workspace

This commit is contained in:
2022-07-16 19:05:39 +02:00
parent 21a664c596
commit f8cd150f72
8 changed files with 6 additions and 102 deletions

View File

@@ -16,9 +16,10 @@
"LicenseName": "MIT",
"LicenseDescription": "MIT, see LICENSE for more details.",
"Dependencies": [
"cpl-core>=2022.7.0",
"cpl-core>=2022.7.0.post1",
"cpl-translation==2022.7.0",
"cpl-query==2022.7.0"
"cpl-query==2022.7.0",
"cpl-discord==2022.7.0"
],
"DevDependencies": [
"cpl-cli>=2022.7.0.post1"

View File

@@ -14,5 +14,4 @@ async def main():
if __name__ == '__main__':
ml = asyncio.get_event_loop()
ml.run_until_complete(main())
asyncio.run(main())

View File

@@ -9,8 +9,8 @@ class Startup(StartupABC):
def __init__(self):
StartupABC.__init__(self)
async def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:
def configure_configuration(self, configuration: ConfigurationABC, environment: ApplicationEnvironment) -> ConfigurationABC:
return configuration
async def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:
def configure_services(self, services: ServiceCollectionABC, environment: ApplicationEnvironment) -> ServiceProviderABC:
return services.build_service_provider()