Improved logging closes #180
All checks were successful
All checks were successful
This commit is contained in:
@@ -13,5 +13,5 @@ async def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
loop = asyncio.get_event_loop()
|
||||
loop = asyncio.new_event_loop()
|
||||
loop.run_until_complete(main())
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
from cpl.core.application import StartupABC
|
||||
from cpl.core.application.async_startup_abc import AsyncStartupABC
|
||||
from cpl.core.configuration import ConfigurationABC
|
||||
from cpl.core.dependency_injection import ServiceProviderABC, ServiceCollectionABC
|
||||
from cpl.core.environment import ApplicationEnvironment
|
||||
|
||||
|
||||
class Startup(StartupABC):
|
||||
class Startup(AsyncStartupABC):
|
||||
def __init__(self):
|
||||
StartupABC.__init__(self)
|
||||
AsyncStartupABC.__init__(self)
|
||||
|
||||
async def configure_configuration(
|
||||
self, configuration: ConfigurationABC, environment: ApplicationEnvironment
|
||||
|
||||
Reference in New Issue
Block a user