Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 395 for Pydantics (0.06 sec)

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

    ## `Field` importieren
    
    Importieren Sie es zuerst:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Achtung
    
    Beachten Sie, dass `Field` direkt von `pydantic` importiert wird, nicht von `fastapi`, wie die anderen (`Query`, `Path`, `Body`, usw.)
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/body-nested-models.md

    Um alle Optionen kennenzulernen, die Sie haben, schauen Sie sich <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantics Typübersicht</a> an. Sie werden im nächsten Kapitel ein paar Beispiele kennenlernen.
    
    Da wir zum Beispiel im `Image`-Modell ein Feld `url` haben, können wir deklarieren, dass das eine Instanz von Pydantics `HttpUrl` sein soll, anstelle eines `str`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/body-updates.md

    ///
    
    ### Pydantics `exclude_unset`-Parameter verwenden
    
    Wenn Sie Teil-Aktualisierungen entgegennehmen, ist der `exclude_unset`-Parameter in der `.model_dump()`-Methode von Pydantic-Modellen sehr nützlich.
    
    Wie in `item.model_dump(exclude_unset=True)`.
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body-updates.md

    ///
    
    ### Using Pydantic's `exclude_unset` parameter { #using-pydantics-exclude-unset-parameter }
    
    If you want to receive partial updates, it's very useful to use the parameter `exclude_unset` in Pydantic's model's `.model_dump()`.
    
    Like `item.model_dump(exclude_unset=True)`.
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/dataclasses.md

    Auch wenn im obige Code Pydantic nicht explizit vorkommt, verwendet FastAPI Pydantic, um diese Standard-Datenklassen in Pydantics eigene Variante von Datenklassen zu konvertieren.
    
    Und natürlich wird das gleiche unterstützt:
    
    * Validierung der Daten
    * Serialisierung der Daten
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 10:12:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial002_py310.py *}
    
    /// info
    
    In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
    The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ///
    
    ## Request body + path parameters { #request-body-path-parameters }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:58:56 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/body.md

    Es verbessert die Editor-Unterstützung für Pydantic-Modelle, mit:
    
    * Code-Vervollständigung
    * Typüberprüfungen
    * Refaktorisierung
    * Suchen
    * Inspektionen
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/extra-models.md

    
    /// info
    
    In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
    The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    ///
    
    ### About `**user_in.dict()` { #about-user-in-dict }
    
    #### Pydantic's `.dict()` { #pydantics-dict }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. docs/de/docs/features.md

    * 100 % Testabdeckung.
    * 100 % Typen annotierte Codebasis.
    
    ## Pydantic's Merkmale
    
    **FastAPI** ist vollkommen kompatibel (und basiert auf) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Das bedeutet, wenn Sie eigenen Pydantic Quellcode haben, funktioniert der.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/handling-errors.md

    ///
    
    `RequestValidationError` ist eine Unterklasse von Pydantics <a href="https://pydantic-docs.helpmanual.io/usage/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a>.
    
    **FastAPI** verwendet diesen, sodass Sie, wenn Sie ein Pydantic-Modell für `response_model` verwenden, und ihre Daten fehlerhaft sind, einen Fehler in ihrem Log sehen.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top