Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sant (0.12 sec)

  1. docs/en/docs/python-types.md

    Python itself doesn't do anything with this `Annotated`. And for editors and other tools, the type is still `str`.
    
    But you can use this space in `Annotated` to provide **FastAPI** with additional metadata about how you want your application to behave.
    
    The important thing to remember is that **the first *type parameter*** you pass to `Annotated` is the **actual type**. The rest, is just metadata for other tools.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. docs/fr/docs/python-types.md

    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Optional`
    * ...et d'autres.
    
    sont appelés des **types génériques** ou **Generics**.
    
    ### Classes en tant que types
    
    Vous pouvez aussi déclarer une classe comme type d'une variable.
    
    Disons que vous avez une classe `Person`, avec une variable `name` :
    
    ```Python hl_lines="1-3"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top