Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Kass (0.18 sec)

  1. docs/de/docs/tutorial/body-nested-models.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/body_nested_models/tutorial009.py!}
        ```
    
    !!! tip "Tipp"
        Bedenken Sie, dass JSON nur `str` als Schlüssel unterstützt.
    
        Aber Pydantic hat automatische Datenkonvertierung.
    
        Das bedeutet, dass Ihre API-Clients nur Strings senden können, aber solange diese Strings nur Zahlen enthalten, wird Pydantic sie konvertieren und validieren.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-nested-models.md

    To declare types that have type parameters (internal types), like `list`, `dict`, `tuple`:
    
    * If you are in a Python version lower than 3.9, import their equivalent version from the `typing` module
    * Pass the internal type(s) as "type parameters" using square brackets: `[` and `]`
    
    In Python 3.9 it would be:
    
    ```Python
    my_list: list[str]
    ```
    
    In versions of Python before 3.9, it would be:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top