Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_async_callable_dependency (0.15 sec)

  1. tests/test_dependency_class.py

    
    @app.get("/callable-gen-dependency")
    async def get_callable_gen_dependency(value: str = Depends(callable_gen_dependency)):
        return value
    
    
    @app.get("/async-callable-dependency")
    async def get_async_callable_dependency(
        value: str = Depends(async_callable_dependency),
    ):
        return value
    
    
    @app.get("/async-callable-gen-dependency")
    async def get_async_callable_gen_dependency(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 10:54:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
Back to top