fix: ruff warnings

This commit is contained in:
2026-07-28 13:55:31 +02:00
committed by d3vyce
parent a407677be0
commit fd83a7142d
36 changed files with 255 additions and 138 deletions
+2 -3
View File
@@ -212,9 +212,8 @@ class Database:
@asynccontextmanager
async def _composed(app_: Any) -> AsyncGenerator[None, None]:
async with self.lifespan(app_):
async with inner_lifespan(app_):
yield
async with self.lifespan(app_), inner_lifespan(app_):
yield
app.router.lifespan_context = _composed