Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 576 for modelA (0.06 sec)

  1. docs/de/docs/tutorial/query-params-str-validations.md

    ///
    
    /// tip | "Tipp"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. docs/fr/docs/index.md

    Juste du **Python** standard.
    
    Par exemple, pour un `int`:
    
    ```Python
    item_id: int
    ```
    
    ou pour un modèle `Item` plus complexe :
    
    ```Python
    item: Item
    ```
    
    ... et avec cette déclaration unique, vous obtenez :
    
    * Une assistance dans votre IDE, notamment :
        * la complétion.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. 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 模型,且数据有错误时,在日志中就会看到这个错误。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. 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`**。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                    // drop through...
                } catch (final LinkageError e) {
                    // drop through...
                }
            }
    
            try {
                // last chance - classic model
                return Class.forName(name);
            } catch (final Exception e) {
                throw new TypeNotPresentException(name, e);
            } catch (final LinkageError e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive", "--batch-mode"}, false),
                    Arguments.of(false, new String[] {"--non-interactive"}, true),
                    Arguments.of(false, new String[] {"--batch-mode"}, true),
                    Arguments.of(false, new String[] {"--non-interactive", "--batch-mode"}, true));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    inside and make sure it is serializable as JSON, using the same [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} explained in the tutorial. This is what allows you to return **arbitrary objects**, for example database models.
    
    But if you are certain that the content that you are returning is **serializable with JSON**, you can pass it directly to the response class and avoid the extra overhead that FastAPI would have by passing your return content through the...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. docs/en/docs/alternatives.md

    It can't handle nested models very well. So, if the JSON body in the request is a JSON object that has inner fields that in turn are nested JSON objects, it cannot be properly documented and validated.
    
    /// check | "Inspired **FastAPI** to"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params-str-validations.md

    ///
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. docs/en/docs/async.md

    ### Concurrency + Parallelism: Web + Machine Learning
    
    With **FastAPI** you can take advantage of concurrency that is very common for web development (the same main attraction of NodeJS).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top