Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for noticeFile (0.56 seconds)

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

        ...
    ```
    
    There's a bit of code duplication for the dependency:
    
    ```Python
    user: User = Depends(get_current_user)
    ```
    
    ...the bigger the codebase, the more noticeable it is.
    
    Now you can create an annotated dependency once, like this:
    
    ```Python
    CurrentUser = Annotated[User, Depends(get_current_user)]
    ```
    
    And then you can reuse this `Annotated` dependency:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
Back to Top