Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 1,071 for Model2 (0.03 seconds)

  1. docs/fr/docs/tutorial/first-steps.md

    Vous pouvez retourner un dictionnaire (`dict`), une liste (`list`), des valeurs seules comme des chaines de caractères (`str`) et des entiers (`int`), etc.
    
    Vous pouvez aussi retourner des models **Pydantic** (qui seront détaillés plus tard).
    
    Il y a de nombreux autres objets et modèles qui seront automatiquement convertis en JSON. Essayez d'utiliser vos favoris, il est fort probable qu'ils soient déjà supportés.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        public Collection<ToolchainModel> getToolchains() {
            return getMavenSession().getRequest().getToolchains().values().stream()
                    .flatMap(Collection::stream)
                    .map(org.apache.maven.toolchain.model.ToolchainModel::getDelegate)
                    .toList();
        }
    
        @Nonnull
        @Override
        public Map<String, String> getUserProperties() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.project.MavenProject;
    import org.eclipse.aether.RepositorySystemSession;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java

            MavenProject p1 = new MavenProject();
            p1.setGroupId("g");
            p1.setArtifactId("p1");
            p1.getBuild().getPlugins().add(new Plugin(org.apache.maven.api.model.Plugin.newBuilder()
                    .groupId("g").artifactId("p2")
                    .
                    .build()))
            MavenProject p2 = new MavenProject();
            p2.setGroupId("g");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 28 15:21:19 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. docs/tr/docs/features.md

    from datetime import date
    
    from pydantic import BaseModel
    
    # Değişkeni str olarak belirt
    # ve o fonksiyon için harika bir editör desteği al
    def main(user_id: str):
        return user_id
    
    
    # Pydantic modeli
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Sonrasında bu şekilde kullanabilirsin
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/handling-errors.md

    ```
    
    ### `RequestValidationError` vs `ValidationError`
    
    /// warning | 警告
    
    如果您觉得现在还用不到以下技术细节,可以先跳过下面的内容。
    
    ///
    
    `RequestValidationError` 是 Pydantic 的 <a href="https://docs.pydantic.dev/latest/concepts/models/#error-handling" class="external-link" target="_blank">`ValidationError`</a> 的子类。
    
    **FastAPI** 调用的就是 `RequestValidationError` 类,因此,如果在 `response_model` 中使用 Pydantic 模型,且数据有错误时,在日志中就会看到这个错误。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

                return null;
            }
        }
    
        /**
         * Implementation of {@link ModelSource} that extends {@link PathSource} with model-specific
         * functionality. This implementation uses request-scoped caching ({@link CacheRetention#REQUEST_SCOPED})
         * since it represents a POM file that is actively being built and may change during the build process.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. docs/en/docs/deployment/concepts.md

    ### Memory per Process { #memory-per-process }
    
    Now, when the program loads things in memory, for example, a machine learning model in a variable, or the contents of a large file in a variable, all that **consumes a bit of the memory (RAM)** of the server.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 18.6K bytes
    - Click Count (1)
  9. docs/zh/docs/tutorial/security/simple-oauth2.md

        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    /// info | 说明
    
    `user_dict` 的说明,详见[**更多模型**一章](../extra-models.md#user_indict){.internal-link target=_blank}。
    
    ///
    
    ## 返回 Token
    
    `token` 端点的响应必须是 JSON 对象。
    
    响应返回的内容应该包含 `token_type`。本例中用的是**Bearer**Token,因此, Token 类型应为**`bearer`**。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/openapi-callbacks.md

    Wenn Sie diese Sichtweise (des *externen Entwicklers*) vorübergehend übernehmen, wird es offensichtlicher, wo die Parameter, das Pydantic-Modell für den Body, die Response, usw. für diese *externe API* hingehören.
    
    ///
    
    ### Einen Callback-`APIRouter` erstellen { #create-a-callback-apirouter }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 13:54:34 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top