Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 647 for model (0.01 sec)

  1. docs/en/docs/tutorial/extra-models.md

    # Extra Models { #extra-models }
    
    Continuing with the previous example, it will be common to have more than one related model.
    
    This is especially the case for user models, because:
    
    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models { #query-parameter-models }
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/cookie-param-models.md

    ///
    
    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Declare the **cookie** parameters that you need in a **Pydantic model**, and then declare the parameter as `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** will **extract** the data for **each field** from the **cookies** received in the request and give you the Pydantic model you defined.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. utils/tests/models.go

    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    
    type Toy struct {
    	gorm.Model
    	Name      string
    	OwnerID   string
    	OwnerType string
    }
    
    type Tools struct {
    	gorm.Model
    	Name     string
    	CustomID string
    	Type     string
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Dec 15 08:36:08 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. 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;
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/header-param-models.md

    # Header Parameter Models { #header-parameter-models }
    
    If you have a group of related **header parameters**, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. SECURITY.md

    TensorFlow
    [**models**](https://developers.google.com/machine-learning/glossary/#model) (to
    use a term commonly used by machine learning practitioners) are expressed as
    programs that TensorFlow executes. TensorFlow programs are encoded as
    computation
    [**graphs**](https://developers.google.com/machine-learning/glossary/#graph).
    Since models are practically programs that TensorFlow executes, using untrusted
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Oct 16 16:10:43 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Model for Input { #model-for-input }
    
    If you use this model as an input like here:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ...then the `description` field will **not be required**. Because it has a default value of `None`.
    
    ### Input Model in Docs { #input-model-in-docs }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. api/maven-api-model/pom.xml

              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/maven.mdo</model>
              </models>
              <templates>
                <template>model.vm</template>
              </templates>
              <params>
                <param>packageModelV4=org.apache.maven.api.model</param>
                <param>isMavenModel=true</param>
              </params>
            </configuration>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:31:13 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. api/maven-api-plugin/pom.xml

                  <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
                  <version>2.0.0</version>
                  <models>
                    <model>src/main/mdo/plugin.mdo</model>
                  </models>
                  <templates>
                    <template>model.vm</template>
                  </templates>
                  <params>
                    <param>packageModelV4=org.apache.maven.api.plugin.descriptor</param>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top