- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for router_specific (0.05 sec)
-
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)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 7.3K bytes - Viewed (0)