Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for remark (0.14 sec)

  1. tests/test_router_events.py

        router_shutdown: bool = False
        sub_router_startup: bool = False
        sub_router_shutdown: bool = False
    
    
    @pytest.fixture
    def state() -> State:
        return State()
    
    
    @pytest.mark.filterwarnings(
        r"ignore:\s*on_event is deprecated, use lifespan event handlers instead.*:DeprecationWarning"
    )
    def test_router_events(state: State) -> None:
        app = FastAPI()
    
        @app.get("/")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 3.2K bytes
    - Viewed (0)
Back to top