File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/service-library/src/servicelib Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def aiohttp_app(self) -> "Application":
2121 raise NotImplementedError
2222
2323 @abstractmethod
24- async def startup (self , completed : threading .Event ):
24+ async def startup (self , completed_event : threading .Event ):
2525 pass
2626
2727 @property
Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ def fastapi_app(self) -> FastAPI:
2323 assert isinstance (self ._app , FastAPI ) # nosec
2424 return self ._app
2525
26- async def startup (self , completed : threading .Event ):
26+ async def startup (self , completed_event : threading .Event ):
2727 self ._lifespan_manager = LifespanManager (
2828 self .fastapi_app ,
2929 startup_timeout = _STARTUP_TIMEOUT ,
3030 shutdown_timeout = _SHUTDOWN_TIMEOUT ,
3131 )
3232 await self ._lifespan_manager .__aenter__ ()
33- completed .set ()
33+ completed_event .set ()
3434 await self ._shutdown_event .wait ()
3535
3636 async def shutdown (self ):
You can’t perform that action at this time.
0 commit comments