- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 395 for Pydantic (0.04 sec)
-
docs/fr/docs/advanced/response-directly.md
# Renvoyer directement une réponse Lorsque vous créez une *opération de chemins* **FastAPI**, vous pouvez normalement retourner n'importe quelle donnée : un `dict`, une `list`, un modèle Pydantic, un modèle de base de données, etc. Par défaut, **FastAPI** convertirait automatiquement cette valeur de retour en JSON en utilisant le `jsonable_encoder` expliqué dans [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/en/docs/tutorial/request-form-models.md
/// /// note This is supported since FastAPI version `0.113.0`. 🤓 /// ## Pydantic Models for Forms { #pydantic-models-for-forms } You just need to declare a **Pydantic model** with the fields you want to receive as **form fields**, and then declare the parameter as `Form`: {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.2K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-param-models.md
Isso permitiria que você **reutilizasse o modelo** em **diversos lugares**, e também declarasse validações e metadados de todos os parâmetros de uma única vez. 😎 /// note | Nota Isso é suportado desde o FastAPI versão `0.115.0`. 🤓 /// ## Parâmetros de Consulta com um Modelo Pydantic
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 2.3K bytes - Viewed (0) -
docs/de/docs/how-to/conditional-openapi.md
Wenn Sie Ihre API sichern möchten, gibt es mehrere bessere Dinge, die Sie tun können, zum Beispiel: * Stellen Sie sicher, dass Sie über gut definierte Pydantic-Modelle für Ihre Requestbodys und Responses verfügen. * Konfigurieren Sie alle erforderlichen Berechtigungen und Rollen mithilfe von Abhängigkeiten. * Speichern Sie niemals Klartext-Passwörter, sondern nur Passwort-Hashes.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Nov 12 19:56:10 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/es/docs/how-to/conditional-openapi.md
Si quieres asegurar tu API, hay varias cosas mejores que puedes hacer, por ejemplo: * Asegúrate de tener modelos Pydantic bien definidos para tus request bodies y responses. * Configura los permisos y roles necesarios usando dependencias. * Nunca guardes contraseñas en texto plano, solo hashes de contraseñas.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/em/docs/tutorial/body-updates.md
/// ### ⚙️ Pydantic `exclude_unset` 🔢 🚥 👆 💚 📨 🍕 ℹ, ⚫️ 📶 ⚠ ⚙️ 🔢 `exclude_unset` Pydantic 🏷 `.dict()`. 💖 `item.dict(exclude_unset=True)`. 👈 🔜 🏗 `dict` ⏮️ 🕴 💽 👈 ⚒ 🕐❔ 🏗 `item` 🏷, 🚫 🔢 💲. ⤴️ 👆 💪 ⚙️ 👉 🏗 `dict` ⏮️ 🕴 💽 👈 ⚒ (📨 📨), 🚫 🔢 💲: {* ../../docs_src/body_updates/tutorial002.py hl[34] *} ### ⚙️ Pydantic `update` 🔢
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 11:27:35 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/cookie-param-models.md
# 쿠키 매개변수 모델 관련있는 **쿠키**들의 그룹이 있는 경우, **Pydantic 모델**을 생성하여 선언할 수 있습니다. 🍪 이를 통해 **여러 위치**에서 **모델을 재사용** 할 수 있고 모든 매개변수에 대한 유효성 검사 및 메타데이터를 한 번에 선언할 수도 있습니다. 😍 /// note | 참고 이 기능은 FastAPI 버전 `0.115.0` 이후부터 지원됩니다. 🤓 /// /// tip | 팁 동일한 기술이 `Query`, `Cookie`, 그리고 `Header`에 적용됩니다. 😎 /// ## Pydantic 모델을 사용한 쿠키 **Pydantic 모델**에 필요한 **쿠키** 매개변수를 선언한 다음, 해당 매개변수를 `Cookie`로 선언합니다:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 09 12:47:02 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/ko/docs/history-design-future.md
이 과정을 통해 코드 중복을 최소화하고, 모든 곳에서 자동 완성, 타입 검사, 에러 확인 기능이 제공되는 최적의 방식을 찾아냈습니다. 이 모든 것은 개발자들에게 최고의 개발 경험을 제공하기 위해 설계되었습니다. --- ## 필요조건 여러 대안을 테스트한 후, [Pydantic](https://docs.pydantic.dev/)을 사용하기로 결정했습니다. 이후 저는 **Pydantic**이 JSON Schema와 완벽히 호환되도록 개선하고, 다양한 제약 조건 선언을 지원하며, 여러 편집기에서의 자동 완성과 타입 검사 기능을 향상하기 위해 기여했습니다. 또한, 또 다른 주요 필요조건이었던 [Starlette](https://www.starlette.io/)에도 기여했습니다. --- ## 개발
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Nov 07 20:46:14 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/zh-hant/docs/tutorial/query-param-models.md
如果你有一組具有相關性的**查詢參數**,你可以建立一個 **Pydantic 模型**來聲明它們。 這將允許你在**多個地方**去**重複使用模型**,並且一次性為所有參數聲明驗證和元資料 (metadata)。😎 /// note FastAPI 從 `0.115.0` 版本開始支援這個特性。🤓 /// ## 使用 Pydantic 模型的查詢參數 在一個 **Pydantic 模型**中聲明你需要的**查詢參數**,然後將參數聲明為 `Query`: {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *} **FastAPI** 將會從請求的**查詢參數**中**提取**出**每個欄位**的資料,並將其提供給你定義的 Pydantic 模型。 ## 查看文件
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Wed Nov 27 22:14:10 UTC 2024 - 2K bytes - Viewed (0) -
docs/ru/docs/tutorial/sql-databases.md
Класс `Hero` очень напоминает модель Pydantic (фактически, под капотом, *это и есть модель Pydantic*). Но есть и некоторые различия * `table=True` для SQLModel означает, что это *модель-таблица*, которая должна представлять **таблицу** в реляционной базе данных. Это не просто *модель данных* (в отличие от обычного класса в Pydantic).
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 17 21:20:20 UTC 2024 - 25.7K bytes - Viewed (0)