We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e29459 commit ff4de90Copy full SHA for ff4de90
1 file changed
api_v1/tests/conftest.py
@@ -34,7 +34,7 @@ async def override_get_async_session():
34
35
36
@pytest_asyncio.fixture(scope='session', autouse=True)
37
-async def app():
+async def app() -> AsyncGenerator[LifespanManager, Any]:
38
@asynccontextmanager
39
async def lifespan(app: FastAPI):
40
async with db_setup.engine.begin() as conn:
0 commit comments