- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 1,012 for model2 (0.05 seconds)
-
docs/pt/docs/advanced/response-directly.md
Quando você cria uma *operação de rota* no **FastAPI**, normalmente você pode retornar qualquer dado: um `dict`, uma `list`, um modelo do Pydantic, um modelo do banco de dados, etc. Se você declarar um [Modelo de resposta](../tutorial/response-model.md), o FastAPI irá usá-lo para serializar os dados para JSON, usando o Pydantic.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.5K bytes - Click Count (0) -
model.go
package gorm import "time" // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt // It may be embedded into your model or you may build your own model without it // // type User struct { // gorm.Model // } type Model struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt DeletedAt `gorm:"index"`
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Feb 18 01:06:43 GMT 2023 - 396 bytes - Click Count (0) -
docs/pt/docs/tutorial/security/simple-oauth2.md
hashed_password = user_dict["hashed_password"], ) ``` /// info | Informação Para uma explicação mais completa de `**user_dict`, verifique [a documentação para **Extra Models**](../extra-models.md#about-user-in-dict). /// ## Retorne o token { #return-the-token } A resposta do endpoint `token` deve ser um objeto JSON.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.2K bytes - Click Count (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
### Model for Input { #model-for-input } If you use this model as an input like here: {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} ...then the `description` field will **not be required**. Because it has a default value of `None`. ### Input Model in Docs { #input-model-in-docs }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 4.5K bytes - Click Count (0) -
compat/maven-repository-metadata/pom.xml
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 3.5K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
It improves editor support for Pydantic models, with: * auto-completion * type checks * refactoring * searching * inspections /// ## Use the model { #use-the-model } Inside of the function, you can access all the attributes of the model object directly: {* ../../docs_src/body/tutorial002_py310.py *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
tests/query_test.go
}) } } }) var models []User if err := DB.Where("name in (?)", []string{"find"}).Find(&models).Error; err != nil || len(models) != 3 { t.Errorf("errors happened when query find with in clause: %v, length: %v", err, len(models)) } else { for idx, user := range users { t.Run("FindWithInClause#"+strconv.Itoa(idx+1), func(t *testing.T) { CheckUser(t, models[idx], user) }) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Jul 22 06:21:04 GMT 2025 - 51K bytes - Click Count (0) -
docs/fr/docs/advanced/response-directly.md
Si vous déclarez un [Modèle de réponse](../tutorial/response-model.md), FastAPI l'utilise pour sérialiser les données en JSON, en utilisant Pydantic.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 4.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-child.xml
<version>11-SNAPSHOT</version> </parent> <artifactId>child-artifact-id</artifactId> <name>Model inheritance test parent: module directory != artifactId</name> <description> artifactId == "child-artifact-id" but expect path on SCM and site == "child" feature: support "project.directory" property, ressembling future model addition of "directory" element along "artifactId" </description> <properties>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.6K bytes - Click Count (0) -
api/maven-api-model/pom.xml
<plugin> <groupId>org.codehaus.modello</groupId> <artifactId>modello-maven-plugin</artifactId> <configuration> <version>4.2.0</version> <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir> <models> <model>src/main/mdo/maven.mdo</model> </models> <templates> <template>model.vm</template> </templates>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Sep 16 12:39:59 GMT 2025 - 3.2K bytes - Click Count (0)