Skip to content

Commit 88f9922

Browse files
fix: rename
1 parent 9390e82 commit 88f9922

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/service-library/src/servicelib/base_app_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

packages/service-library/src/servicelib/fastapi/app_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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):

0 commit comments

Comments
 (0)