Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 395 for Pydantic (0.34 sec)

  1. docs/pt/docs/tutorial/body-nested-models.md

    Para ver todas as opções possíveis, cheque a documentação para os<a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">tipos exoticos do Pydantic</a>. Você verá alguns exemplos no próximo capitulo.
    
    Por exemplo, no modelo `Image` nós temos um campo `url`, nós podemos declara-lo como um `HttpUrl` do Pydantic invés de como uma `str`:
    
    {* ../../docs_src/body_nested_models/tutorial005.py hl[4,10] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/versions.md

    So, you can just let **FastAPI** use the correct Starlette version.
    
    ## About Pydantic { #about-pydantic }
    
    Pydantic includes the tests for **FastAPI** with its own tests, so new versions of Pydantic (above `1.0.0`) are always compatible with FastAPI.
    
    You can pin Pydantic to any version above `1.0.0` that works for you.
    
    For example:
    
    ```txt
    pydantic>=2.7.0,<3.0.0
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/security/get-current-user.md

    Это пока что не слишком нам полезно. Давайте изменим код так, чтобы он возвращал нам данные пользователя, отправившего запрос.
    
    ## Создание модели пользователя
    
    Сначала создадим Pydantic-модель пользователя.
    
    Точно так же, как мы использовали Pydantic для объявления тел запросов, мы можем использовать его где угодно:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## Создание зависимости `get_current_user`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 10 10:52:27 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * Стандартний Пайтонівський `Decimal`.
        * У запитах і відповідях це буде оброблено так само, як і `float`.
    * Ви можете перевірити всі дійсні типи даних Pydantic тут: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">типи даних Pydantic</a>.
    
    ## Приклад
    
    Ось приклад *path operation* з параметрами, використовуючи деякі з вищезазначених типів.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/body.md

    Melhora o suporte do editor para seus modelos Pydantic com::
    
    * completação automática
    * verificação de tipos
    * refatoração
    * buscas
    * inspeções
    
    ///
    
    ## Use o modelo
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/settings.md

    ## Pydantic `Settings`
    
    👐, Pydantic 🚚 👑 🚙 🍵 👫 ⚒ 👟 ⚪️➡️ 🌐 🔢 ⏮️ <a href="https://docs.pydantic.dev/latest/concepts/pydantic_settings/" class="external-link" target="_blank">Pydantic: ⚒ 🧾</a>.
    
    ### ✍ `Settings` 🎚
    
    🗄 `BaseSettings` ⚪️➡️ Pydantic &amp; ✍ 🎧-🎓, 📶 🌅 💖 ⏮️ Pydantic 🏷.
    
    🎏 🌌 ⏮️ Pydantic 🏷, 👆 📣 🎓 🔢 ⏮️ 🆎 ✍, &amp; 🎲 🔢 💲.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * Standard Python `Decimal`.
        * In requests and responses, handled the same as a `float`.
    * You can check all the valid Pydantic data types here: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Pydantic data types</a>.
    
    ## Example { #example }
    
    Here's an example *path operation* with parameters using some of the above types.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * `Decimal` estándar de Python.
        * En requests y responses, manejado igual que un `float`.
    * Puedes revisar todos los tipos de datos válidos de Pydantic aquí: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Tipos de datos de Pydantic</a>.
    
    ## Ejemplo
    
    Aquí tienes un ejemplo de una *path operation* con parámetros usando algunos de los tipos anteriores.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/response-model.md

    ///
    
    `response_model` принимает те же типы, которые можно указать для какого-либо поля в модели Pydantic. Таким образом, это может быть как одиночная модель Pydantic, так и `список (list)` моделей Pydantic. Например, `List[Item]`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/body-fields.md

    # ボディ - フィールド
    
    `Query`や`Path`、`Body`を使って *path operation関数* のパラメータに追加のバリデーションやメタデータを宣言するのと同じように、Pydanticの`Field`を使ってPydanticモデルの内部でバリデーションやメタデータを宣言することができます。
    
    ## `Field`のインポート
    
    まず、以下のようにインポートします:
    
    {* ../../docs_src/body_fields/tutorial001.py hl[4] *}
    
    /// warning | 注意
    
    `Field`は他の全てのもの(`Query`、`Path`、`Body`など)とは違い、`fastapi`からではなく、`pydantic`から直接インポートされていることに注意してください。
    
    ///
    
    ## モデルの属性の宣言
    
    以下のように`Field`をモデルの属性として使用することができます:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:34:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top