- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 395 for Pydantic (0.04 sec)
-
docs/en/docs/advanced/settings.md
## Pydantic `Settings` { #pydantic-settings } Fortunately, Pydantic provides a great utility to handle these settings coming from environment variables with <a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/" class="external-link" target="_blank">Pydantic: Settings management</a>. ### Install `pydantic-settings` { #install-pydantic-settings }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
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 }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.2K bytes - Viewed (0) -
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) -
docs/en/docs/tutorial/response-model.md
"price": 50.2 } ``` /// 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. /// /// info
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 16K bytes - Viewed (0) -
docs/pt/docs/tutorial/response-model.md
``` /// info | Informação No Pydantic v1, o método era chamado `.dict()`, ele foi descontinuado (mas ainda suportado) no Pydantic v2 e renomeado para `.model_dump()`. Os exemplos aqui usam `.dict()` para compatibilidade com Pydantic v1, mas você deve usar `.model_dump()` em vez disso se puder usar Pydantic v2. /// /// info | Informação
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Nov 26 22:51:05 UTC 2024 - 16.5K bytes - Viewed (0) -
docs/es/docs/tutorial/schema-extra-example.md
Aquí tienes varias formas de hacerlo. ## Datos extra de JSON Schema en modelos de Pydantic Puedes declarar `examples` para un modelo de Pydantic que se añadirá al JSON Schema generado. //// tab | Pydantic v2 {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *} //// //// tab | Pydantic v1 {* ../../docs_src/schema_extra_example/tutorial001_pv1_py310.py hl[13:23] *} ////
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 9.8K bytes - Viewed (0) -
docs/es/docs/tutorial/body-updates.md
/// ### Uso del parámetro `exclude_unset` de Pydantic Si quieres recibir actualizaciones parciales, es muy útil usar el parámetro `exclude_unset` en el `.model_dump()` del modelo de Pydantic. Como `item.model_dump(exclude_unset=True)`. /// info | Información En Pydantic v1 el método se llamaba `.dict()`, fue deprecado (pero aún soportado) en Pydantic v2, y renombrado a `.model_dump()`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4.9K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
So, even with the code above that doesn't use Pydantic explicitly, FastAPI is using Pydantic to convert those standard dataclasses to Pydantic's own flavor of dataclasses. And of course, it supports the same: * data validation * data serialization * data documentation, etc. This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic. /// info
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/header-param-models.md
Це дозволить Вам повторно **використовувати модель** в **різних місцях**, а також оголосити валідації та метадані для всіх параметрів одночасно. 😎 /// note | Нотатки Ця можливість підтримується починаючи з версії FastAPI `0.115.0`. 🤓 /// ## Параметри Заголовків з Використанням Pydantic Model
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Mar 19 17:03:13 UTC 2025 - 3K bytes - Viewed (0) -
docs/de/docs/advanced/path-operation-advanced-configuration.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.3K bytes - Viewed (0)