- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for Pydantics (0.21 sec)
-
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:35:06 UTC 2024 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/body-fields.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 17:01:18 UTC 2024 - 2.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
If you use <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a> as your editor, you can use the <a href="https://github.com/koxudaxi/pydantic-pycharm-plugin/" class="external-link" target="_blank">Pydantic PyCharm Plugin</a>. It improves editor support for Pydantic models, with: * auto-completion * type checks * refactoring * searching * inspections /// ## Use the model
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:58:19 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/pt/docs/advanced/dataclasses.md
Então, mesmo com o código acima que não usa Pydantic explicitamente, o FastAPI está usando Pydantic para converter essas dataclasses padrão para a versão do Pydantic. E claro, ele suporta o mesmo: * validação de dados * serialização de dados * documentação de dados, etc.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:33:53 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/fr/docs/tutorial/body.md
Ce qui améliore le support pour les modèles Pydantic avec : * de l'auto-complétion * des vérifications de type * du "refactoring" (ou remaniement de code) * de la recherche * de l'inspection
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 17:34:41 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/pt/docs/tutorial/header-param-models.md
Isso vai lhe permitir **reusar o modelo** em **múltiplos lugares** e também declarar validações e metadadados para todos os parâmetros de uma vez. 😎 /// note | Nota Isso é possível desde a versão `0.115.0` do FastAPI. 🤓 /// ## Parâmetros do Cabeçalho com um Modelo Pydantic
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 20:41:28 UTC 2024 - 3.8K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`. You can use `jsonable_encoder` for that. It receives an object, like a Pydantic model, and returns a JSON compatible version: {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 23:31:16 UTC 2024 - 1.6K bytes - Viewed (0) -
docs/en/docs/release-notes.md
* Fix handling of enums with their own schema in path parameters. To support [pydantic/pydantic#1432](https://github.com/pydantic/pydantic/pull/1432) in FastAPI. PR [#1463](https://github.com/tiangolo/fastapi/pull/1463). ## 0.55.0 * Allow enums to allow them to have their own schemas in OpenAPI. To support [pydantic/pydantic#1432](https://github.com/pydantic/pydantic/pull/1432) in FastAPI. PR [#1461](https://github.com/tiangolo/fastapi/pull/1461).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:25:57 UTC 2024 - 460.3K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎 In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**. Let's see how that works and how to change it if you need to do that. ## Pydantic Models for Input and Output
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 16:43:54 UTC 2024 - 4.2K bytes - Viewed (0) -
docs/pt/docs/how-to/separate-openapi-schemas.md
Ao usar **Pydantic v2**, o OpenAPI gerado é um pouco mais exato e **correto** do que antes. 😎 Inclusive, em alguns casos, ele terá até **dois JSON Schemas** no OpenAPI para o mesmo modelo Pydantic, para entrada e saída, dependendo se eles possuem **valores padrão**. Vamos ver como isso funciona e como alterar se for necessário. ## Modelos Pydantic para Entrada e Saída
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 24 18:52:36 UTC 2024 - 6.8K bytes - Viewed (0)