Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 554 for Model1 (0.08 sec)

  1. architecture/build-state-model.md

    # Build state model
    
    The Gradle daemon tracks state for various elements. These are arranged in a hierarchy:
    
    ```mermaid
      graph TD
    
      process["build process"]
      
      session["build session"]
      process --> session
      
      build_tree["build tree"]
      session --> build_tree
      
      build1["root build"]
      build_tree --> build1
      
      project1["root project"]
      build1 --> project1
      
      project2["project"]
      build1 --> project2
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Et nous analysons directement ce contenu YAML, puis nous utilisons à nouveau le même modèle Pydantic pour valider le contenu YAML :
    
    ```Python hl_lines="26-33"
    {!../../docs_src/path_operation_advanced_configuration/tutorial007.py!}
    ```
    
    /// tip | "Astuce"
    
    Ici, nous réutilisons le même modèle Pydantic.
    
    Mais nous aurions pu tout aussi bien pu le valider d'une autre manière.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body.md

    It improves editor support for Pydantic models, with:
    
    * auto-completion
    * type checks
    * refactoring
    * searching
    * inspections
    
    ///
    
    ## Use the model
    
    Inside of the function, you can access all the attributes of the model object directly:
    
    {!> ../../docs_src/body/tutorial002_py310.py!}
    
    ## Request body + path parameters
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/separate-openapi-schemas.md

    Let's see how that works and how to change it if you need to do that.
    
    ## Pydantic Models for Input and Output
    
    Let's say you have a Pydantic model with default values, like this one:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:7] hl[7] *}
    
    ### Model for Input
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:43:54 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. docs_src/sql_databases_peewee/sql_app/crud.py

    from . import models, schemas
    
    
    def get_user(user_id: int):
        return models.User.filter(models.User.id == user_id).first()
    
    
    def get_user_by_email(email: str):
        return models.User.filter(models.User.email == email).first()
    
    
    def get_users(skip: int = 0, limit: int = 100):
        return list(models.User.select().offset(skip).limit(limit))
    
    
    def create_user(user: schemas.UserCreate):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 843 bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DependencyManagementImporter.java

     */
    package org.apache.maven.model.composition;
    
    import java.util.List;
    
    import org.apache.maven.api.model.DependencyManagement;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblemCollector;
    
    /**
     * Handles the import of dependency management from other models into the target model.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. compat/maven-settings/pom.xml

              <basedir>${project.basedir}/../../api/maven-api-settings</basedir>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/settings.mdo</model>
              </models>
              <params>
                <param>forcedIOModelVersion=1.2.0</param>
                <param>packageModelV3=org.apache.maven.settings</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. api/maven-api-toolchain/pom.xml

                  <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>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Oct 19 18:11:20 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_path_params/test_tutorial005.py

    client = TestClient(app)
    
    
    def test_get_enums_alexnet():
        response = client.get("/models/alexnet")
        assert response.status_code == 200
        assert response.json() == {"model_name": "alexnet", "message": "Deep Learning FTW!"}
    
    
    def test_get_enums_lenet():
        response = client.get("/models/lenet")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

        @Inject
        public DefaultSuperPomProvider(ModelProcessor modelProcessor) {
            this.modelProcessor = modelProcessor;
        }
    
        @Override
        public Model getSuperModel(String version) {
            return SUPER_MODELS.computeIfAbsent(Objects.requireNonNull(version), v -> {
                String resource = "/org/apache/maven/model/pom-" + v + ".xml";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top