Skip to content

Commit

Permalink
fix(api): remove unnecessary default type argument (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanolucas authored Feb 20, 2025
1 parent 4fce603 commit 4c28227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ from fastapi import FastAPI


@asynccontextmanager
async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
async def lifespan(app: FastAPI) -> AsyncGenerator[None]:
"""Handle FastAPI startup and shutdown events."""
# Startup events.
for handler in logging.root.handlers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


@asynccontextmanager
async def lifespan(app: FastAPI) -> AsyncGenerator[None, None]:
async def lifespan(app: FastAPI) -> AsyncGenerator[None]:
"""Handle FastAPI startup and shutdown events."""
# Startup events.
for handler in logging.root.handlers:
Expand Down

0 comments on commit 4c28227

Please sign in to comment.