Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 423 for modelos (0.36 seconds)

  1. docs/en/docs/reference/openapi/models.md

    # OpenAPI `models`
    
    OpenAPI Pydantic models used to generate and validate the generated OpenAPI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 125 bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/response-model.md

    ## See it in the docs { #see-it-in-the-docs }
    
    When you see the automatic docs, you can check that the input model and output model will both have their own JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    And both models will be used for the interactive API documentation:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Other Return Type Annotations { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  3. docs/uk/docs/tutorial/extra-models.md

    ///
    
    ## Кілька моделей { #multiple-models }
    
    Ось загальна ідея того, як можуть виглядати моделі з їхніми полями пароля та місцями використання:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    ### Про `**user_in.model_dump()` { #about-user-in-model-dump }
    
    #### `.model_dump()` у Pydantic { #pydantics-model-dump }
    
    `user_in` - це модель Pydantic класу `UserIn`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/extra-models.md

    # 更多模型 { #extra-models }
    
    书接上文,多个关联模型这种情况很常见。
    
    特别是用户模型,因为:
    
    * **输入模型**应该含密码
    * **输出模型**不应含密码
    * **数据库模型**可能需要包含哈希后的密码
    
    /// danger | 危险
    
    不要存储用户的明文密码。始终只存储之后可用于校验的“安全哈希”。
    
    如果你还不了解,可以在[安全性章节](security/simple-oauth2.md#password-hashing)中学习什么是“密码哈希”。
    
    ///
    
    ## 多个模型 { #multiple-models }
    
    下面的代码展示了不同模型处理密码字段的方式,及使用位置的大致思路:
    
    {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models { #query-parameter-models }
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. docs/tr/docs/tutorial/request-form-models.md

    # Form Model'leri { #form-models }
    
    FastAPI'de **form field**'larını tanımlamak için **Pydantic model**'lerini kullanabilirsiniz.
    
    /// info | Bilgi
    
    Form'ları kullanmak için önce [`python-multipart`](https://github.com/Kludex/python-multipart)'ı yükleyin.
    
    Bir [virtual environment](../virtual-environments.md) oluşturduğunuzdan, onu etkinleştirdiğinizden ve ardından paketi kurduğunuzdan emin olun. Örneğin:
    
    ```console
    $ pip install python-multipart
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/cookie-param-models.md

    # Cookie Parameter Models { #cookie-parameter-models }
    
    If you have a group of **cookies** that are related, you can create a **Pydantic model** to declare them. 🍪
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 11:48:27 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/request-form-models.md

    ```
    
    ///
    
    /// note | Hinweis
    
    Dies wird seit FastAPI Version `0.113.0` unterstützt. 🤓
    
    ///
    
    ## Pydantic-Modelle für Formulare { #pydantic-models-for-forms }
    
    Sie müssen nur ein **Pydantic-Modell** mit den Feldern deklarieren, die Sie als **Formularfelder** erhalten möchten, und dann den Parameter als `Form` deklarieren:
    
    {* ../../docs_src/request_form_models/tutorial001_an_py310.py hl[9:11,15] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  9. docs/ru/docs/tutorial/request-form-models.md

    # Модели форм { #form-models }
    
    Вы можете использовать **Pydantic-модели** для объявления **полей формы** в FastAPI.
    
    /// info | Дополнительная информация
    
    Чтобы использовать формы, сначала установите [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Убедитесь, что вы создали и активировали [виртуальное окружение](../virtual-environments.md), а затем установите пакет, например:
    
    ```console
    $ pip install python-multipart
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    ## Nested Models { #nested-models }
    
    Each attribute of a Pydantic model has a type.
    
    But that type can itself be another Pydantic model.
    
    So, you can declare deeply nested JSON "objects" with specific attribute names, types and validations.
    
    All that, arbitrarily nested.
    
    ### Define a submodel { #define-a-submodel }
    
    For example, we can define an `Image` model:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
Back to Top