Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 396 for pydantic (0.04 sec)

  1. docs/es/docs/tutorial/body-fields.md

    ## Importar `Field`
    
    Primero, tienes que importarlo:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning | Advertencia
    
    Fíjate que `Field` se importa directamente desde `pydantic`, no desde `fastapi` como el resto (`Query`, `Path`, `Body`, etc).
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/encoder.md

    👆 💪 ⚙️ `jsonable_encoder` 👈.
    
    ⚫️ 📨 🎚, 💖 Pydantic 🏷, & 📨 🎻 🔗 ⏬:
    
    {* ../../docs_src/encoder/tutorial001.py hl[5,22] *}
    
    👉 🖼, ⚫️ 🔜 🗜 Pydantic 🏷 `dict`, & `datetime` `str`.
    
    🏁 🤙 ⚫️ 🕳 👈 💪 🗜 ⏮️ 🐍 🐩 <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. .github/DISCUSSION_TEMPLATE/questions.yml

            ```
        validations:
          required: true
      - type: input
        id: pydantic-version
        attributes:
          label: Pydantic Version
          description: |
            What Pydantic version are you using?
    
            You can find the Pydantic version with:
    
            ```bash
            python -c "import pydantic; print(pydantic.version.VERSION)"
            ```
        validations:
          required: true
      - type: input
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/schema-extra-example.md

    # 📣 📨 🖼 💽
    
    👆 💪 📣 🖼 💽 👆 📱 💪 📨.
    
    📥 📚 🌌 ⚫️.
    
    ## Pydantic `schema_extra`
    
    👆 💪 📣 `example` Pydantic 🏷 ⚙️ `Config` &amp; `schema_extra`, 🔬 <a href="https://docs.pydantic.dev/latest/concepts/json_schema/#customizing-json-schema" class="external-link" target="_blank">Pydantic 🩺: 🔗 🛃</a>:
    
    {* ../../docs_src/schema_extra_example/tutorial001.py hl[15:23] *}
    
    👈 ➕ ℹ 🔜 🚮-🔢 **🎻 🔗** 👈 🏷, &amp; ⚫️ 🔜 ⚙️ 🛠️ 🩺.
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. docs/em/docs/deployment/versions.md

    👆 🚫🔜 🚫 📌 ⏬ `starlette`.
    
    🎏 ⏬ **FastAPI** 🔜 ⚙️ 🎯 🆕 ⏬ 💃.
    
    , 👆 💪 ➡️ **FastAPI** ⚙️ ☑ 💃 ⏬.
    
    ## 🔃 Pydantic
    
    Pydantic 🔌 💯 **FastAPI** ⏮️ 🚮 👍 💯, 🆕 ⏬ Pydantic (🔛 `1.0.0`) 🕧 🔗 ⏮️ FastAPI.
    
    👆 💪 📌 Pydantic 🙆 ⏬ 🔛 `1.0.0` 👈 👷 👆 &amp; 🔛 `2.0.0`.
    
    🖼:
    
    ```txt
    pydantic>=1.2.0,<2.0.0
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/cookie-param-models.md

    ///
    
    ## Pydantic-модель для cookies
    
    Объявите параметры **cookie**, которые вам нужны, в **Pydantic-модели**, а затем объявите параметр как `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** **извлечёт** данные для **каждого поля** из **cookies**, полученных в запросе, и выдаст вам объявленную Pydantic-модель.
    
    ## Проверка сгенерированной документации
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 14:14:42 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/cookie-param-models.md

    もし関連する**複数のクッキー**から成るグループがあるなら、それらを宣言するために、**Pydanticモデル**を作成できます。🍪
    
    こうすることで、**複数の場所**で**そのPydanticモデルを再利用**でき、バリデーションやメタデータを、すべてのクッキーパラメータに対して一度に宣言できます。😎
    
    /// note | 備考
    
    この機能は、FastAPIのバージョン `0.115.0` からサポートされています。🤓
    
    ///
    
    /// tip | 豆知識
    
    これと同じテクニックは `Query` 、 `Cookie` 、 `Header` にも適用できます。 😎
    
    ///
    
    ## クッキーにPydanticモデルを使用する
    
    必要な複数の**クッキー**パラメータを**Pydanticモデル**で宣言し、さらに、それを `Cookie` として宣言しましょう:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:21:27 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/settings.md

    ## Pydantic `Settings`
    
    Por sorte, o Pydantic possui uma funcionalidade para lidar com essas configurações vindas de variáveis de ambiente utilizando <a href="https://docs.pydantic.dev/latest/usage/pydantic_settings/" class="external-link" target="_blank">Pydantic: Settings management</a>.
    
    ### Instalando `pydantic-settings`
    
    Primeiro, instale o pacote `pydantic-settings`:
    
    <div class="termy">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Jan 15 20:17:23 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. docs/es/docs/deployment/versions.md

    ## Sobre Pydantic
    
    Pydantic incluye los tests para **FastAPI** con sus propios tests, así que nuevas versiones de Pydantic (por encima de `1.0.0`) siempre son compatibles con FastAPI.
    
    Puedes fijar Pydantic a cualquier versión por encima de `1.0.0` que funcione para ti.
    
    Por ejemplo:
    
    ```txt
    pydantic>=2.7.0,<3.0.0
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/extra-data-types.md

        * 📨 &amp; 📨 🔜 😥 `str`.
        * 🏗 🔗 🔜 ✔ 👈 ⚫️ `str` ⏮️ `binary` "📁".
    * `Decimal`:
        * 🐩 🐍 `Decimal`.
        * 📨 &amp; 📨, 🍵 🎏 `float`.
    * 👆 💪 ✅ 🌐 ☑ Pydantic 📊 🆎 📥: <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic 📊 🆎</a>.
    
    ## 🖼
    
    📥 🖼 *➡ 🛠️* ⏮️ 🔢 ⚙️ 🔛 🆎.
    
    {* ../../docs_src/extra_data_types/tutorial001.py hl[1,3,12:16] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top