- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for router_specific (0.05 seconds)
-
tests/test_router_events.py
} @asynccontextmanager async def router_lifespan( app: FastAPI, ) -> AsyncGenerator[dict[str, Union[str, bool]], None]: yield { "router_specific": True, "overridden": "router", # should override parent } router = APIRouter(lifespan=router_lifespan) app = FastAPI(lifespan=lifespan) app.include_router(router)Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 7.3K bytes - Click Count (0)