Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for Model (0.14 sec)

  1. docs/en/docs/advanced/security/oauth2-scopes.md

    We verify that we get a `username`, and extract the scopes.
    
    And then we validate that data with the Pydantic model (catching the `ValidationError` exception), and if we get an error reading the JWT token or validating the data with Pydantic, we raise the `HTTPException` we created before.
    
    For that, we update the Pydantic model `TokenData` with a new property `scopes`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/handling-errors.md

    **FastAPI** verwendet diesen, sodass Sie, wenn Sie ein Pydantic-Modell für `response_model` verwenden, und ihre Daten fehlerhaft sind, einen Fehler in ihrem Log sehen.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:28:29 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. docs/vi/docs/tutorial/first-steps.md

    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Bạn có thể trả về một `dict`, `list`, một trong những giá trị đơn như `str`, `int`,...
    
    Bạn cũng có thể trả về Pydantic model (bạn sẽ thấy nhiều hơn về nó sau).
    
    Có nhiều object và model khác nhau sẽ được tự động chuyển đổi sang JSON (bao gồm cả ORM,...). Thử sử dụng loại ưa thích của bạn, nó có khả năng cao đã được hỗ trợ.
    
    ## Tóm lại
    
    * Import `FastAPI`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/handling-errors.md

    **FastAPI** faz uso dele para que você veja o erro no seu log, caso você utilize um modelo de Pydantic em `response_model`, e seus dados tenham erro.
    
    Contudo, o cliente ou usuário não terão acesso a ele. Ao contrário, o cliente receberá um "Internal Server Error" com o HTTP status code `500`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  5. LICENSE

    All rights reserved.
    
    All other contributions:
    
    Copyright (c) 2014, the respective contributors
    All rights reserved.
    
    Caffe uses a shared copyright model: each contributor holds copyright over
    their contributions to Caffe. The project versioning records all such
    contribution and copyright details. If a contributor wants to further mark
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Nov 29 17:31:56 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  6. api/go1.17.txt

    pkg image, type RGBA64Image interface, RGBA64At(int, int) color.RGBA64
    pkg image/draw, type RGBA64Image interface { At, Bounds, ColorModel, RGBA64At, Set, SetRGBA64 }
    pkg image/draw, type RGBA64Image interface, At(int, int) color.Color
    pkg image/draw, type RGBA64Image interface, Bounds() image.Rectangle
    pkg image/draw, type RGBA64Image interface, ColorModel() color.Model
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    And if that `Response` has a JSON media type (`application/json`), like is the case with the `JSONResponse` and `UJSONResponse`, the data you return will be automatically converted (and filtered) with any Pydantic `response_model` that you declared in the *path operation decorator*.
    
    !!! note
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    ### 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.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/apache/maven/maven-parent/5/maven-parent-5.pom

      <version>5</version>
      <packaging>pom</packaging>
      <name>Apache Maven</name>
      <description>
        Maven is a software project management and comprehension tool. Based on the concept of a project object model
        (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
      </description>
      <url>http://maven.apache.org/</url>
      <issueManagement>
        <system>jira</system>
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 14.8K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        val prefix = testType.prefix
        val sourceSet = the<SourceSetContainer>().getByName("${prefix}Test")
    
        // We apply lazy as we don't want to depend on the order
        plugins.withType<IdeaPlugin> {
            with(model) {
                module {
                    testSources.from(sourceSet.java.srcDirs, sourceSet.the<GroovySourceDirectorySet>().srcDirs)
                    testResources.from(sourceSet.resources.srcDirs)
                }
            }
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top