Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for add_event_handler (0.11 sec)

  1. fastapi/routing.py

                        prefix + route.path, route.endpoint, name=route.name
                    )
            for handler in router.on_startup:
                self.add_event_handler("startup", handler)
            for handler in router.on_shutdown:
                self.add_event_handler("shutdown", handler)
            self.lifespan_context = _merge_lifespan_context(
                self.lifespan_context,
                router.lifespan_context,
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
Back to top