Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 254 for models2 (0.06 sec)

  1. tests/test_filter_pydantic_sub_model/app_pv1.py

            return name
    
    
    async def get_model_c() -> ModelC:
        return ModelC(username="test-user", password="test-password")
    
    
    @app.get("/model/{name}", response_model=ModelA)
    async def get_model_a(name: str, model_c=Depends(get_model_c)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 784 bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        Model getRawModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. 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){.internal-link target=_blank}.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. docs_src/sql_databases_peewee/sql_app/models.py

    import peewee
    
    from .database import db
    
    
    class User(peewee.Model):
        email = peewee.CharField(unique=True, index=True)
        hashed_password = peewee.CharField()
        is_active = peewee.BooleanField(default=True)
    
        class Meta:
            database = db
    
    
    class Item(peewee.Model):
        title = peewee.CharField(index=True)
        description = peewee.CharField(index=True)
        owner = peewee.ForeignKeyField(User, backref="items")
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 465 bytes
    - Viewed (0)
  5. models.BUILD

    Andrew Harp <******@****.***> 1484086825 -0800
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 10 22:25:53 UTC 2017
    - 328 bytes
    - Viewed (0)
  6. compat/maven-settings/pom.xml

          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>2.0.0</version>
              <basedir>${project.basedir}/../../api/maven-api-settings</basedir>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/settings.mdo</model>
              </models>
              <params>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-nested-models.md

    ## Modelos aninhados
    
    Cada atributo de um modelo Pydantic tem um tipo.
    
    Mas esse tipo pode ser outro modelo Pydantic.
    
    Portanto, você pode declarar "objects" JSON profundamente aninhados com nomes, tipos e validações de atributos específicos.
    
    Tudo isso, aninhado arbitrariamente.
    
    ### Defina um sub-modelo
    
    Por exemplo, nós podemos definir um modelo `Image`:
    
    ```Python hl_lines="9-11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. compat/maven-embedder/pom.xml

          </plugin>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.2.0</version>
              <models>
                <model>../../api/maven-api-cli/src/main/mdo/core-extensions.mdo</model>
              </models>
              <templates>
                <template>reader-stax.vm</template>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. compat/maven-toolchain-model/pom.xml

          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.1.0</version>
              <basedir>${project.basedir}/../../api/maven-api-toolchain</basedir>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/toolchains.mdo</model>
              </models>
            </configuration>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. compat/maven-model/pom.xml

          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <basedir>${project.basedir}/../../api/maven-api-model</basedir>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <version>4.1.0</version>
              <models>
                <model>src/main/mdo/maven.mdo</model>
              </models>
              <params>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top