Skip to content

Commit

Permalink
lol at this
Browse files Browse the repository at this point in the history
  • Loading branch information
cofin committed Jan 26, 2025
1 parent 5d9293d commit 943b2ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions advanced_alchemy/extensions/starlette/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def init_app(self, app: Starlette) -> None:
original_lifespan = app.router.lifespan_context

@asynccontextmanager
async def wrapped_lifespan(app: Starlette) -> AsyncGenerator[Any, None]:
async def wrapped_lifespan(app: Starlette) -> AsyncGenerator[Any, None]: # pragma: no cover
async with self.lifespan(app), original_lifespan(app) as state:
yield state

Expand All @@ -103,7 +103,7 @@ async def lifespan(self, app: Starlette) -> AsyncGenerator[Any, None]: # pragma
await self.on_shutdown()

@property
def app(self) -> Starlette:
def app(self) -> Starlette: # pragma: no cover
"""Returns the Starlette application instance.
Raises:
Expand Down

0 comments on commit 943b2ea

Please sign in to comment.