- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 386 for Models (0.04 seconds)
-
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
It's **not supported** by Pydantic to have a model of Pydantic v2 with its own fields defined as Pydantic v1 models or vice versa. ```mermaid graph TB subgraph "❌ Not Supported" direction TB subgraph V2["Pydantic v2 Model"] V1Field["Pydantic v1 Model"] end subgraph V1["Pydantic v1 Model"] V2Field["Pydantic v2 Model"] end endCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K 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) -
docs/en/docs/advanced/dataclasses.md
* data validation * data serialization * data documentation, etc. This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic. /// info Keep in mind that dataclasses can't do everything Pydantic models can do. So, you might still need to use Pydantic models.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K 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) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java
* * This method will be called on each raw model being loaded, * just before validation. * * @param model the input model * @return the transformed model, or the input model if no transformation is needed * @throws ModelTransformerException */ @Nonnull default Model transformRawModel(@Nonnull Model model) throws ModelTransformerException { return model; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/en/docs/tutorial/sql-databases.md
We'll fix these things by adding a few **extra models**. Here's where SQLModel will shine. ✨ ### Create Multiple Models { #create-multiple-models } In **SQLModel**, any model class that has `table=True` is a **table model**. And any model class that doesn't have `table=True` is a **data model**, these ones are actually just Pydantic models (with a couple of small extra features). 🤓
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 15.3K bytes - Click Count (0) -
docs/en/docs/advanced/generate-clients.md
You can see those schemas because they were declared with the models in the app. That information is available in the app's **OpenAPI schema**, and then shown in the API docs. That same information from the models that is included in OpenAPI is what can be used to **generate the client code**. ### Hey API { #hey-api }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.7K bytes - Click Count (1) -
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 Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 15.5K bytes - Click Count (0) -
docs/en/docs/tutorial/body-updates.md
/// /// note Notice that the input model is still validated. So, if you want to receive partial updates that can omit all the attributes, you need to have a model with all the attributes marked as optional (with default values or `None`). To distinguish from the models with all optional values for **updates** and models with required values for **creation**, you can use the ideas described in [Extra Models](extra-models.md).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
api/maven-api-toolchain/pom.xml
<configuration> <version>1.2.0</version> <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir> <models> <model>src/main/mdo/toolchains.mdo</model> </models> <templates> <template>model.vm</template> </templates> <params> <param>packageModelV4=org.apache.maven.api.toolchain</param>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Jun 29 22:37:39 GMT 2025 - 3.4K bytes - Click Count (0)