- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sub_router_shutdown (0.07 sec)
-
tests/test_router_events.py
@sub_router.on_event("startup") def sub_router_startup() -> None: state.sub_router_startup = True @sub_router.on_event("shutdown") def sub_router_shutdown() -> None: state.sub_router_shutdown = True router.include_router(sub_router) app.include_router(router) assert state.app_startup is False assert state.router_startup is False
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 19:09:52 UTC 2024 - 7.3K bytes - Viewed (0)