Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 2,001 for modes (0.03 seconds)

  1. 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>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. tests/test_tuples.py

    
    class ItemGroup(BaseModel):
        items: list[tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/security/get-current-user.md

    ## Other models { #other-models }
    
    You can now get the current user directly in the *path operation functions* and deal with the security mechanisms at the **Dependency Injection** level, using `Depends`.
    
    And you can use any model or data for the security requirements (in this case, a Pydantic model `User`).
    
    But you are not restricted to using some specific data model, class or type.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. 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 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. compat/maven-repository-metadata/pom.xml

                </goals>
                <configuration>
                  <version>1.1.0</version>
                  <models>
                    <model>../../api/maven-api-metadata/src/main/mdo/metadata.mdo</model>
                  </models>
                  <templates>
                    <template>model-v3.vm</template>
                  </templates>
                </configuration>
              </execution>
            </executions>
          </plugin>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body.md

    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Create your data model { #create-your-data-model }
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. 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>
                <param>locationTracking=true</param>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Sep 16 12:39:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. 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).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. compat/maven-toolchain-model/pom.xml

              <basedir>${project.basedir}/../../api/maven-api-toolchain</basedir>
              <velocityBasedir>${project.basedir}/../../src/mdo</velocityBasedir>
              <models>
                <model>src/main/mdo/toolchains.mdo</model>
              </models>
            </configuration>
            <executions>
              <execution>
                <id>velocity</id>
                <goals>
                  <goal>velocity</goal>
                </goals>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

     */
    package org.apache.maven.model.normalization;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.apache.maven.model.Build;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Plugin;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top