Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for some_dependency (0.09 sec)

  1. docs/en/docs/release-notes.md

    * `responses`: OpenAPI responses that apply to all the *path operations*.
    
    For example:
    
    ```Python
    from fastapi import FastAPI, Depends
    
    
    async def some_dependency():
        return
    
    
    app = FastAPI(dependencies=[Depends(some_dependency)])
    ```
    
    **In `APIRouter`**
    
    This allows setting the (mostly new) parameters (additionally to the already existing parameters):
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top