- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 271 for Models (0.25 sec)
-
docs/en/docs/how-to/sql-databases-peewee.md
## Create the Pydantic models Now let's check the file `sql_app/schemas.py`. !!! tip To avoid confusion between the Peewee *models* and the Pydantic *models*, we will have the file `models.py` with the Peewee models, and the file `schemas.py` with the Pydantic models. These Pydantic models define more or less a "schema" (a valid data shape).
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Jan 16 13:23:25 GMT 2024 - 23.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java
boolean isResolveDependencies(); /** * Controls the level of validation to perform on processed models. By default, models are validated in strict mode. * * @param validationLevel The level of validation to perform on processed models, e.g. * {@link org.apache.maven.model.building.ModelBuildingRequest#VALIDATION_LEVEL_STRICT}. * @return This configuration, never {@code null}. */
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 7K bytes - Viewed (0) -
fastapi/encoders.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
fastapi/_compat.py
def _model_rebuild(model: Type[BaseModel]) -> None: model.model_rebuild() def _model_dump( model: BaseModel, mode: Literal["json", "python"] = "json", **kwargs: Any ) -> Any: return model.model_dump(mode=mode, **kwargs) def _get_model_config(model: BaseModel) -> Any: return model.model_config def get_schema_from_model_field(
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/main.py
import time from typing import List from fastapi import Depends, FastAPI, HTTPException from . import crud, database, models, schemas from .database import db_state_default database.db.connect() database.db.create_tables([models.User, models.Item]) database.db.close() app = FastAPI() sleep_time = 10 async def reset_db_state(): database.db._state._state.set(db_state_default.copy()) database.db._state.reset()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Mar 26 19:09:53 GMT 2020 - 2.2K bytes - Viewed (0) -
api/maven-api-metadata/pom.xml
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 08:48:58 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-api-impl/pom.xml
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 08:48:58 GMT 2024 - 9.6K bytes - Viewed (0) -
api/maven-api-settings/pom.xml
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 08:48:58 GMT 2024 - 3.2K bytes - Viewed (0) -
maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/pom.xml
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Nov 07 15:16:39 GMT 2019 - 3.8K bytes - Viewed (0) -
maven-core/src/test/projects/lifecycle-executor/project-with-plugin-level-configuration-only/pom.xml
<artifactId>modello-maven-plugin</artifactId> <version>1.0.1</version> <configuration> <version>1.1.0</version> <models> <model>src/main/mdo/remote-resources.mdo</model> </models> </configuration> </plugin> </plugins> </build>
XML - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu May 21 20:14:22 GMT 2009 - 1.4K bytes - Viewed (0)