Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 396 for pydantic (0.05 sec)

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

    ## Імпорт `Field`
    
    Спочатку вам потрібно імпортувати це:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[4] *}
    
    /// warning
    
    Зверніть увагу, що `Field` імпортується прямо з `pydantic`, а не з `fastapi`, як всі інші (`Query`, `Path`, `Body` тощо).
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. docs/fa/docs/features.md

    * 100% پوشش با تست.
    * 100% کد براساس type annotate ها.
    
    ## ویژگی های Pydantic
    
    **FastAPI** کاملا (و براساس) با <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a> سازگار است. بنابراین هرکد Pydantic اضافی که داشته باشید، نیز کار خواهد کرد.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. docs/es/docs/features.md

    * Código completamente anotado con tipos.
    
    ## Funcionalidades de Pydantic
    
    **FastAPI** es totalmente compatible con (y está basado en) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Por lo tanto, cualquier código adicional de Pydantic que tengas, también funcionará.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 17:46:44 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/path-operation-advanced-configuration.md

    //// tab | Pydantic v2
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007.py hl[17:22, 24] *}
    
    ////
    
    //// tab | Pydantic v1
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py hl[17:22, 24] *}
    
    ////
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body-nested-models.md

    👀 🌐 🎛 👆 ✔️, 🛒 🩺 <a href="https://docs.pydantic.dev/latest/concepts/types/" class="external-link" target="_blank">Pydantic 😍 🆎</a>. 👆 🔜 👀 🖼 ⏭ 📃.
    
    🖼, `Image` 🏷 👥 ✔️ `url` 🏑, 👥 💪 📣 ⚫️ ↩️ `str`, Pydantic `HttpUrl`:
    
    {* ../../docs_src/body_nested_models/tutorial005.py hl[4,10] *}
    
    🎻 🔜 ✅ ☑ 📛, &amp; 📄 🎻 🔗 / 🗄 ✅.
    
    ## 🔢 ⏮️ 📇 📊
    
    👆 💪 ⚙️ Pydantic 🏷 🏾 `list`, `set`, ♒️:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/response-model.md

        "price": 50.2
    }
    ```
    
    /// info | Інформація
    
    У Pydantic версії 1 метод називався `.dict()`, він був застарілий (але ще підтримується) у Pydantic версії 2 і перейменований у `.model_dump()`.
    
    Приклади тут використовують `.dict()` для сумісності з Pydantic v1, але Вам слід використовувати `.model_dump()`, якщо Ви можете використовувати Pydantic v2.
    
    ///
    
    /// info | Інформація
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/schema-extra-example.md

    Hier sind mehrere Möglichkeiten, das zu tun.
    
    ## Zusätzliche JSON-Schemadaten in Pydantic-Modellen
    
    Sie können `examples` („Beispiele“) für ein Pydantic-Modell deklarieren, welche dem generierten JSON-Schema hinzugefügt werden.
    
    //// tab | Pydantic v2
    
    {* ../../docs_src/schema_extra_example/tutorial001_py310.py hl[13:24] *}
    
    ////
    
    //// tab | Pydantic v1
    
    {* ../../docs_src/schema_extra_example/tutorial001_pv1_py310.py hl[13:23] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial001.py hl[9,11,16,22,24,29:30,33:35,40:41] *}
    
    ### 🔃 `**user_in.dict()`
    
    #### Pydantic `.dict()`
    
    `user_in` Pydantic 🏷 🎓 `UserIn`.
    
    Pydantic 🏷 ✔️ `.dict()` 👩‍🔬 👈 📨 `dict` ⏮️ 🏷 💽.
    
    , 🚥 👥 ✍ Pydantic 🎚 `user_in` 💖:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    &amp; ⤴️ 👥 🤙:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/response-model.md

    ```
    
    /// info | Información
    
    En Pydantic v1 el método se llamaba `.dict()`, fue deprecado (pero aún soportado) en Pydantic v2, y renombrado a `.model_dump()`.
    
    Los ejemplos aquí usan `.dict()` para compatibilidad con Pydantic v1, pero deberías usar `.model_dump()` en su lugar si puedes usar Pydantic v2.
    
    ///
    
    /// info | Información
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. docs/uk/docs/features.md

    * 100% анотована типами кодова база.
    
    ## Можливості Pydantic
    
    **FastAPI** повністю сумісний із (та побудований на основі) <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a>. Тому будь-який додатковий код Pydantic, який ви маєте, також працюватиме.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 07 22:08:49 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top