Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 188 for Models (0.16 sec)

  1. docs/en/docs/how-to/async-sql-encode-databases.md

    ```Python hl_lines="25-28"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    ## Create models
    
    Create Pydantic models for:
    
    * Notes to be created (`NoteIn`).
    * Notes to be returned (`Note`).
    
    ```Python hl_lines="31-33  36-39"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    By creating these Pydantic models, the input data will be validated, serialized (converted), and annotated (documented).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/mkdocs.yml

        - tutorial/body-multiple-params.md
        - tutorial/body-fields.md
        - tutorial/body-nested-models.md
        - tutorial/schema-extra-example.md
        - tutorial/extra-data-types.md
        - tutorial/cookie-params.md
        - tutorial/header-params.md
        - tutorial/response-model.md
        - tutorial/extra-models.md
        - tutorial/response-status-code.md
        - tutorial/request-forms.md
        - tutorial/request-files.md
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                if route.callbacks:
                    callback_flat_models.extend(get_fields_from_routes(route.callbacks))
                params = get_flat_params(route.dependant)
                request_fields_from_routes.extend(params)
    
        flat_models = callback_flat_models + list(
            body_fields_from_routes + responses_from_routes + request_fields_from_routes
        )
        return flat_models
    
    
    def get_openapi(
        *,
        title: str,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  4. api/maven-api-model/pom.xml

                  <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>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelCache.java

     * under the License.
     */
    package org.apache.maven.api.services.model;
    
    import java.util.function.Supplier;
    
    import org.apache.maven.api.services.Source;
    
    /**
     * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache
     * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. maven-compat/pom.xml

            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.0.0</version>
              <models>
                <model>src/main/mdo/profiles.mdo</model>
                <model>src/main/mdo/paramdoc.mdo</model>
              </models>
            </configuration>
            <executions>
              <execution>
                <id>modello</id>
                <goals>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 08:48:58 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/api/services/model/DependencyManagementImporter.java

     */
    package org.apache.maven.api.services.model;
    
    import java.util.List;
    
    import org.apache.maven.api.model.DependencyManagement;
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelBuilderRequest;
    import org.apache.maven.api.services.ModelProblemCollector;
    
    /**
     * Handles the import of dependency management from other models into the target model.
     *
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/sql-databases.md

    ```Python hl_lines="1  10-13  21-24"
    {!../../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    ### ✍ 💛
    
    🔜 ✍ 💛.
    
    👉, 👥 ⚙️ `relationship` 🚚 🇸🇲 🐜.
    
    👉 🔜 ▶️️, 🌅 ⚖️ 🌘, "🎱" 🔢 👈 🔜 🔌 💲 ⚪️➡️ 🎏 🏓 🔗 👉 1️⃣.
    
    ```Python hl_lines="2  15  26"
    {!../../../docs_src/sql_databases/sql_app/models.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  9. 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`表中此记录的外键。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 27K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/security/get-current-user.md

        We are not restricted to having only one dependency that can return that type of data.
    
    ## 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`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top