Skip to content

Commit

Permalink
fix: Typehints.
Browse files Browse the repository at this point in the history
  • Loading branch information
DABND19 committed May 13, 2024
1 parent b0fe895 commit 2ec521a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiomisc/service/uvicorn.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,5 @@ async def start(self) -> Any:
self.server = Server(config)
self.serve_task = asyncio.create_task(self.server.serve(sockets=[self.sock]))

async def stop(self, exception: Exception | None = None) -> None:
async def stop(self, exception: Optional[Exception] = None) -> None:
await self.serve_task

0 comments on commit 2ec521a

Please sign in to comment.