- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 322 for Pydantic (0.14 sec)
-
docs/zh/docs/advanced/dataclasses.md
因此,即便上述代码没有显式使用 Pydantic,FastAPI 仍会使用 Pydantic 把标准数据类转换为 Pydantic 数据类(`dataclasses`)。 并且,它仍然支持以下功能: * 数据验证 * 数据序列化 * 数据存档等 数据类的和运作方式与 Pydantic 模型相同。实际上,它的底层使用的也是 Pydantic。 !!! info "说明" 注意,数据类不支持 Pydantic 模型的所有功能。 因此,开发时仍需要使用 Pydantic 模型。 但如果数据类很多,这一技巧能给 FastAPI 开发 Web API 增添不少助力。🤓 ## `response_model` 使用数据类 在 `response_model` 参数中使用 `dataclasses`:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 22:44:14 GMT 2024 - 3.8K bytes - Viewed (0) -
docs/em/docs/advanced/dataclasses.md
, ⏮️ 📟 🔛 👈 🚫 ⚙️ Pydantic 🎯, FastAPI ⚙️ Pydantic 🗜 📚 🐩 🎻 Pydantic 👍 🍛 🎻. & ↗️, ⚫️ 🐕🦺 🎏: * 💽 🔬 * 💽 🛠️ * 💽 🧾, ♒️. 👉 👷 🎏 🌌 ⏮️ Pydantic 🏷. & ⚫️ 🤙 🏆 🎏 🌌 🔘, ⚙️ Pydantic. !!! info ✔️ 🤯 👈 🎻 💪 🚫 🌐 Pydantic 🏷 💪. , 👆 5️⃣📆 💪 ⚙️ Pydantic 🏷. ✋️ 🚥 👆 ✔️ 📚 🎻 🤥 🤭, 👉 👌 🎱 ⚙️ 👫 🏋️ 🕸 🛠️ ⚙️ FastAPI. 👶
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/uk/docs/tutorial/body.md
Він покращує підтримку редакторів для моделей Pydantic за допомогою: * автозаповнення * перевірки типу * рефакторингу * пошуку * інспекції
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.2K bytes - Viewed (0) -
docs/pl/docs/features.md
* 100% pokrycie testami. * 100% adnotacji typów. ## Cechy Pydantic **FastAPI** jest w pełni kompatybilny z (oraz bazuje na) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Tak więc każdy dodatkowy kod Pydantic, który posiadasz, również będzie działał.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.9K bytes - Viewed (0) -
docs/ru/docs/features.md
* 100% аннотирование типов в кодовой базе. ## Особенности и возможности Pydantic **FastAPI** основан на <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a> и полностью совместим с ним. Так что, любой дополнительный код Pydantic, который у вас есть, будет также работать.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 16.3K bytes - Viewed (0) -
docs/es/docs/features.md
* Base de código 100% anotada con tipos. ## Características de Pydantic **FastAPI** está basado y es completamente compatible con <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Tanto así, que cualquier código de Pydantic que tengas también funcionará.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.9K bytes - Viewed (0) -
docs/fa/docs/features.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 15K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
## Pydantic `Settings` Glücklicherweise bietet Pydantic ein großartiges Werkzeug zur Verarbeitung dieser Einstellungen, die von Umgebungsvariablen stammen, mit <a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/" class="external-link" target="_blank">Pydantic: Settings Management</a>. ### `pydantic-settings` installieren
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:14 GMT 2024 - 17.8K bytes - Viewed (0) -
docs/ko/docs/features.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
{!> ../../../docs_src/extra_models/tutorial001_py310.py!} ``` ### Sobre `**user_in.dict()` #### O `.dict()` do Pydantic `user_in` é um modelo Pydantic da classe `UserIn`. Os modelos Pydantic possuem um método `.dict()` que retorna um `dict` com os dados do modelo. Então, se criarmos um objeto Pydantic `user_in` como: ```Python user_in = UserIn(username="john", password="secret", email="******@****.***") ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.8K bytes - Viewed (0)