Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 245 for Models (0.08 sec)

  1. compat/maven-model/pom.xml

              <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>
                <param>forcedIOModelVersion=4.0.0</param>
                <param>packageModelV3=org.apache.maven.model</param>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. 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)
  3. impl/maven-core/pom.xml

                  <goal>xdoc</goal>
                </goals>
                <phase>pre-site</phase>
                <configuration>
                  <version>1.0.0</version>
                  <models>
                    <model>src/main/mdo/extension.mdo</model>
                  </models>
                </configuration>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:40:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. scripts/playwright/header_param_models/image01.py

        page.get_by_role("button", name="GET /items/ Read Items").click()
        page.get_by_role("button", name="Try it out").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/header-param-models/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/header_param_models/tutorial001.py"]
    )
    try:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. scripts/playwright/request_form_models/image01.py

        page.get_by_role("button", name="POST /login/ Login").click()
        page.get_by_role("button", name="Try it out").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/request-form-models/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/request_form_models/tutorial001.py"]
    )
    try:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:14:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. 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(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * 🌐 Add Korean translation for `docs/ko/docs/python-types.md`. PR [#2267](https://github.com/tiangolo/fastapi/pull/2267) by [@jrim](https://github.com/jrim).
    * 🌐 Add Korean translation for `docs/ko/docs/tutorial/body-nested-models.md`. PR [#2506](https://github.com/tiangolo/fastapi/pull/2506) by [@hard-coders](https://github.com/hard-coders).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/sql-databases.md

    ```Python hl_lines="1  10-13  21-24"
    {!../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    ### 创建关系
    
    现在创建关系。
    
    为此,我们使用SQLAlchemy  ORM提供的`relationship`。
    
    这将或多或少会成为一种“神奇”属性,其中表示该表与其他相关的表中的值。
    
    ```Python hl_lines="2  15  26"
    {!../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    当访问 user 中的属性`items`时,如 中`my_user.items`,它将有一个`Item`SQLAlchemy 模型列表(来自`items`表),这些模型具有指向`users`表中此记录的外键。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-fields.md

    ## Import `Field`
    
    First, you have to import it:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    
    /// warning
    
    Notice that `Field` is imported directly from `pydantic`, not from `fastapi` as are all the rest (`Query`, `Path`, `Body`, etc).
    
    ///
    
    ## Declare model attributes
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:01:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. 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)
Back to top