- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 984 for Model1 (0.1 seconds)
-
docs/fr/docs/tutorial/body-nested-models.md
## Modèles imbriqués { #nested-models } Chaque attribut d'un modèle Pydantic a un type. Mais ce type peut lui-même être un autre modèle Pydantic. Ainsi, vous pouvez déclarer des « objets » JSON profondément imbriqués avec des noms d'attributs, des types et des validations spécifiques. Tout cela, de manière arbitrairement imbriquée. ### Définir un sous-modèle { #define-a-submodel }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/tr/docs/tutorial/request-form-models.md
# Form Model'leri { #form-models } FastAPI'de **form field**'larını tanımlamak için **Pydantic model**'lerini kullanabilirsiniz. /// info | Bilgi Form'ları kullanmak için önce [`python-multipart`](https://github.com/Kludex/python-multipart)'ı yükleyin. Bir [virtual environment](../virtual-environments.md) oluşturduğunuzdan, onu etkinleştirdiğinizden ve ardından paketi kurduğunuzdan emin olun. Örneğin: ```console $ pip install python-multipart ```
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 2.4K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-models.md
# 更多模型 { #extra-models } 书接上文,多个关联模型这种情况很常见。 特别是用户模型,因为: * **输入模型**应该含密码 * **输出模型**不应含密码 * **数据库模型**可能需要包含哈希后的密码 /// danger | 危险 不要存储用户的明文密码。始终只存储之后可用于校验的“安全哈希”。 如果你还不了解,可以在[安全性章节](security/simple-oauth2.md#password-hashing)中学习什么是“密码哈希”。 /// ## 多个模型 { #multiple-models } 下面的代码展示了不同模型处理密码字段的方式,及使用位置的大致思路: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/tr/docs/tutorial/response-model.md
/// ## Bir output modeli ekleyin { #add-an-output-model } Bunun yerine, plaintext password içeren bir input modeli ve password’ü içermeyen bir output modeli oluşturabiliriz: {* ../../docs_src/response_model/tutorial003_py310.py hl[9,11,16] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17K bytes - Click Count (0) -
docs/tr/docs/tutorial/cookie-param-models.md
Aynı teknik `Query`, `Cookie` ve `Header` için de geçerlidir. 😎 /// ## Pydantic Model ile Cookies { #cookies-with-a-pydantic-model } İhtiyacınız olan **cookie** parametrelerini bir **Pydantic model** içinde tanımlayın ve ardından parametreyi `Cookie` olarak bildirin: {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:41:38 GMT 2026 - 3.3K bytes - Click Count (0) -
docs/es/docs/tutorial/body-nested-models.md
Y también se anotará/documentará en consecuencia. ## Modelos Anidados { #nested-models } Cada atributo de un modelo Pydantic tiene un tipo. Pero ese tipo puede ser en sí mismo otro modelo Pydantic. Así que, puedes declarar "objetos" JSON anidados profundamente con nombres de atributos específicos, tipos y validaciones. Todo eso, de manera arbitraria.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 7.2K bytes - Click Count (0) -
docs/de/docs/tutorial/body-nested-models.md
Und es wird entsprechend annotiert/dokumentiert. ## Verschachtelte Modelle { #nested-models } Jedes Attribut eines Pydantic-Modells hat einen Typ. Aber dieser Typ kann selbst ein anderes Pydantic-Modell sein. Sie können also tief verschachtelte JSON-„Objekte“ deklarieren, mit spezifischen Attributnamen, -typen, und -validierungen.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 7.5K bytes - Click Count (0) -
utils/tests/models.go
Active bool } type Account struct { gorm.Model UserID sql.NullInt64 Number string } type Pet struct { gorm.Model UserID *uint Name string Toy Toy `gorm:"polymorphic:Owner;"` } type Toy struct { gorm.Model Name string OwnerID string OwnerType string } type Tools struct { gorm.Model Name string CustomID string Type string }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 2.1K bytes - Click Count (0) -
docs/en/docs/reference/openapi/models.md
# OpenAPI `models` OpenAPI Pydantic models used to generate and validate the generated OpenAPI.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 18 12:36:40 GMT 2023 - 125 bytes - Click Count (0) -
docs/uk/docs/tutorial/header-param-models.md
# Моделі параметрів заголовків { #header-parameter-models } Якщо у вас є група пов’язаних **параметрів заголовків**, ви можете створити **Pydantic модель** для їх оголошення. Це дозволить вам повторно **використовувати модель** в **різних місцях**, а також оголосити валідації та метадані для всіх параметрів одночасно. 😎 /// note | Примітка Ця можливість підтримується починаючи з версії FastAPI `0.115.0`. 🤓 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 12:42:01 GMT 2026 - 4.3K bytes - Click Count (0)