Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expected_ (0.11 sec)

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

        ...
    
    
    @app.delete("/items/{item_id}")
    def delete_item(user: CurrentUser, item_id: int):
        ...
    ```
    
    ...and `CurrentUser` has all the typing information as `User`, so your editor will work as expected (autocompletion and everything), and **FastAPI** will be able to understand the dependency defined in `Annotated`. 😎
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
Back to top