- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 255 for models2 (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/query_test.go
var models2 [3]User if err := DB.Where("name in (?)", []string{"find"}).Find(&models2).Error; err != nil { t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models2)) } else { for idx, user := range users { t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) { CheckUser(t, models2[idx], user) }) } } // test smaller array var models3 [2]User
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K 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 Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0) -
docs/de/docs/tutorial/request-form-models.md
```console $ 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: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/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) -
docs/es/docs/tutorial/query-param-models.md
# Modelos de Parámetros Query { #query-parameter-models } Si tienes un grupo de **parámetros query** que están relacionados, puedes crear un **modelo de Pydantic** para declararlos. Esto te permitiría **reutilizar el modelo** en **múltiples lugares** y también declarar validaciones y metadatos para todos los parámetros de una vez. 😎 /// note | Nota Esto es compatible desde la versión `0.115.0` de FastAPI. 🤓 ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 2.3K bytes - Click Count (0) -
docs/de/docs/tutorial/query-param-models.md
# Query-Parameter-Modelle { #query-parameter-models } Wenn Sie eine Gruppe von **Query-Parametern** haben, die miteinander in Beziehung stehen, können Sie ein **Pydantic-Modell** erstellen, um diese zu deklarieren. Dadurch können Sie das **Modell an mehreren Stellen wiederverwenden** und gleichzeitig Validierungen und Metadaten für alle Parameter auf einmal deklarieren. 😎 /// note | Hinweis Dies wird seit FastAPI Version `0.115.0` unterstützt. 🤓 ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 2.6K 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) -
docs/pt/docs/tutorial/cookie-param-models.md
# Modelos de Parâmetros de Cookie { #cookie-parameter-models } Se você possui um grupo de **cookies** que estão relacionados, você pode criar um **modelo Pydantic** para declará-los. 🍪 Isso lhe permitiria **reutilizar o modelo** em **diversos lugares** e também declarar validações e metadata para todos os parâmetros de uma vez. 😎 /// note | Nota Isso é suportado desde a versão `0.115.0` do FastAPI. 🤓 /// /// tip | DicaCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 20:32:40 GMT 2025 - 3.4K bytes - Click Count (0) -
docs/de/docs/tutorial/cookie-param-models.md
# Cookie-Parameter-Modelle { #cookie-parameter-models } Wenn Sie eine Gruppe von **Cookies** haben, die zusammengehören, können Sie ein **Pydantic-Modell** erstellen, um diese zu deklarieren. 🍪 Damit können Sie das Modell an **mehreren Stellen wiederverwenden** und auch Validierungen und Metadaten für alle Parameter gleichzeitig deklarieren. 😎 /// note | Hinweis Dies wird seit FastAPI Version `0.115.0` unterstützt. 🤓 /// /// tip | TippCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 13:54:34 GMT 2025 - 3.8K bytes - Click Count (0) -
docs/en/docs/tutorial/response-model.md
## See it in the docs { #see-it-in-the-docs } When you see the automatic docs, you can check that the input model and output model will both have their own JSON Schema: <img src="/img/tutorial/response-model/image01.png"> And both models will be used for the interactive API documentation: <img src="/img/tutorial/response-model/image02.png"> ## Other Return Type Annotations { #other-return-type-annotations }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 15.5K bytes - Click Count (0)