Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 271 for Models (0.25 sec)

  1. 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)
  2. 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)
  3. fastapi/encoders.py

            Doc(
                """
                Pydantic's `include` parameter, passed to Pydantic models to set the
                fields to include.
                """
            ),
        ] = None,
        exclude: Annotated[
            Optional[IncEx],
            Doc(
                """
                Pydantic's `exclude` parameter, passed to Pydantic models to set the
                fields to exclude.
                """
            ),
        ] = None,
    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)
  4. 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)
  5. 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)
  6. api/maven-api-metadata/pom.xml

                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <version>1.2.0</version>
                  <models>
                    <model>src/main/mdo/metadata.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.metadata</param>
    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)
  7. maven-api-impl/pom.xml

                  <models>
                    <model>src/main/mdo/maven.mdo</model>
                  </models>
                  <templates>
                    <template>merger.vm</template>
                    <template>transformer.vm</template>
                    <template>reader-stax.vm</template>
                    <template>writer-stax.vm</template>
                    <template>model-version.vm</template>
                  </templates>
                  <params>
    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)
  8. api/maven-api-settings/pom.xml

                  <version>2.0.0</version>
                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <models>
                    <model>src/main/mdo/settings.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.settings</param>
    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)
  9. maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/pom.xml

                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
                    <model>src/main/mdo/remote-resources.mdo</model>
                  </models>
                </configuration>
              </execution>
              <execution>
                <id>supplemental-models</id>
                <goals>
                  <goal>xpp3-writer</goal>
                  <goal>java</goal>
    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)
  10. 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)
Back to top