Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for annotaties (0.2 sec)

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

    ```
    
    ...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:
    
    ```Python
    CurrentUser = Annotated[User, Depends(get_current_user)]
    
    
    @app.get("/items/")
    def read_items(user: CurrentUser):
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:51:17 UTC 2024
    - 449.4K bytes
    - Viewed (0)
  2. doc/go_spec.html

    In an expression switch, the cases contain expressions that are compared
    against the value of the switch expression.
    In a type switch, the cases contain types that are compared against the
    type of a specially annotated switch expression.
    The switch expression is evaluated exactly once in a switch statement.
    </p>
    
    <h4 id="Expression_switches">Expression switches</h4>
    
    <p>
    In an expression switch,
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (1)
Back to top