Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for modello (0.15 sec)

  1. docs/de/docs/tutorial/body-fields.md

    # Body – Felder
    
    So wie Sie zusätzliche Validation und Metadaten in Parametern der **Pfadoperation-Funktion** mittels `Query`, `Path` und `Body` deklarieren, können Sie auch innerhalb von Pydantic-Modellen zusätzliche Validation und Metadaten deklarieren, mittels Pydantics `Field`.
    
    ## `Field` importieren
    
    Importieren Sie es zuerst:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4"
        {!> ../../../docs_src/body_fields/tutorial001_an_py310.py!}
        ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 29 17:36:19 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-fields.md

    ## Declare atributos do modelo
    
    Você pode então utilizar `Field` com atributos do modelo:
    
    ```Python hl_lines="11-14"
    {!../../../docs_src/body_fields/tutorial001.py!}
    ```
    
    `Field` funciona da mesma forma que `Query`, `Path` e `Body`, ele possui todos os mesmos parâmetros, etc.
    
    !!! note "Detalhes técnicos"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 02 15:00:11 GMT 2021
    - 2.2K bytes
    - Viewed (0)
Back to top