Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 41 of 41 for alternate (0.15 sec)

  1. fastapi/routing.py

            `on_event` is deprecated, use `lifespan` event handlers instead.
    
            Read more about it in the
            [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/#alternative-events-deprecated).
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_event_handler(event_type, func)
                return func
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
Back to top