- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 188 for Models (0.04 seconds)
-
docs/en/docs/reference/openapi/models.md
# OpenAPI `models` OpenAPI Pydantic models used to generate and validate the generated OpenAPI.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 18 12:36:40 GMT 2023 - 125 bytes - Click Count (0) -
fastapi/dependencies/models.py
Sebastián Ramírez <******@****.***> 1766006759 -0800
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 7.1K 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 Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Dec 15 08:36:08 GMT 2023 - 2.1K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-models.md
# Extra Models { #extra-models } Continuing with the previous example, it will be common to have more than one related model. This is especially the case for user models, because: * The **input model** needs to be able to have a password. * The **output model** should not have a password. * The **database model** would probably need to have a hashed password. /// dangerCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.9K bytes - Click Count (0) -
models.BUILD
Andrew Harp <******@****.***> 1484086825 -0800
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Jan 10 22:25:53 GMT 2017 - 328 bytes - Click Count (0) -
docs/de/docs/tutorial/request-form-models.md
$ pip install python-multipart ``` /// /// note | Hinweis Dies wird seit FastAPI Version `0.113.0` unterstützt. 🤓 /// ## Pydantic-Modelle für Formulare { #pydantic-models-for-forms } Sie müssen nur ein **Pydantic-Modell** mit den Feldern deklarieren, die Sie als **Formularfelder** erhalten möchten, und dann den Parameter als `Form` deklarieren: {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/de/docs/tutorial/extra-models.md
/// ## Mehrere Modelle { #multiple-models } Hier ist eine allgemeine Idee, wie die Modelle mit ihren Passwortfeldern aussehen könnten und an welchen Stellen sie verwendet werden: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *} ### Über `**user_in.model_dump()` { #about-user-in-model-dump } #### Pydantics `.model_dump()` { #pydantics-model-dump }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 8K bytes - Click Count (0) -
docs/pt/docs/tutorial/extra-models.md
# Modelos Adicionais { #extra-models } Continuando com o exemplo anterior, será comum ter mais de um modelo relacionado. Isso é especialmente o caso para modelos de usuários, porque: * O **modelo de entrada** precisa ser capaz de ter uma senha. * O **modelo de saída** não deve ter uma senha. * O **modelo de banco de dados** provavelmente precisaria ter uma senha com hash. /// danger | CuidadoCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/en/docs/tutorial/cookie-param-models.md
# Cookie Parameter Models { #cookie-parameter-models } If you have a group of **cookies** that are related, you can create a **Pydantic model** to declare them. 🍪 This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎 /// note This is supported since FastAPI version `0.115.0`. 🤓 /// /// tipCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/pt/docs/tutorial/body-nested-models.md
E também teremos anotações/documentação em conformidade. ## Modelos aninhados { #nested-models } Cada atributo de um modelo Pydantic tem um tipo. Mas esse tipo pode ser outro modelo Pydantic. Portanto, você pode declarar "objects" JSON profundamente aninhados com nomes, tipos e validações de atributos específicos. Tudo isso, aninhado arbitrariamente. ### Defina um sub-modelo { #define-a-submodel }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.4K bytes - Click Count (0)