- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for sub_router_lifespan (0.42 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_router_events.py
yield {"router": True} @asynccontextmanager async def sub_router_lifespan(app: FastAPI) -> AsyncGenerator[None, None]: yield sub_router = APIRouter(lifespan=sub_router_lifespan) router = APIRouter(lifespan=router_lifespan) app = FastAPI(lifespan=lifespan) router.include_router(sub_router)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.7K bytes - Click Count (0)