Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_sync_raise_other (0.18 sec)

  1. tests/test_dependency_contextmanager.py

        raise SyncDependencyError()
    
    
    @app.get("/async_raise_other")
    async def get_async_raise_other(state: str = Depends(asyncgen_state_try)):
        assert state == "asyncgen raise started"
        raise OtherDependencyError()
    
    
    @app.get("/sync_raise_other")
    async def get_sync_raise_other(state: str = Depends(generator_state_try)):
        assert state == "generator raise started"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top