Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 765 for Pydantics (0.14 sec)

  1. 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
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. docs/ru/docs/features.md

    * 100% аннотирование типов в кодовой базе.
    
    ## Особенности и возможности Pydantic
    
    **FastAPI** основан на <a href="https://docs.pydantic.dev/" class="external-link" target="_blank"><strong>Pydantic</strong></a> и полностью совместим с ним. Так что, любой дополнительный код Pydantic, который у вас есть, будет также работать.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/response-model.md

    }
    ```
    
    !!! info
        In Pydantic v1 the method was called `.dict()`, it was deprecated (but still supported) in Pydantic v2, and renamed to `.model_dump()`.
    
        The examples here use `.dict()` for compatibility with Pydantic v1, but you should use `.model_dump()` instead if you can use Pydantic v2.
    
    !!! info
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/response-model.md

    ## `response_model` 🔢
    
    📤 💼 🌐❔ 👆 💪 ⚖️ 💚 📨 💽 👈 🚫 ⚫️❔ ⚫️❔ 🆎 📣.
    
    🖼, 👆 💪 💚 **📨 📖** ⚖️ 💽 🎚, ✋️ **📣 ⚫️ Pydantic 🏷**. 👉 🌌 Pydantic 🏷 🔜 🌐 💽 🧾, 🔬, ♒️. 🎚 👈 👆 📨 (✅ 📖 ⚖️ 💽 🎚).
    
    🚥 👆 🚮 📨 🆎 ✍, 🧰 &amp; 👨‍🎨 🔜 😭 ⏮️ (☑) ❌ 💬 👆 👈 👆 🔢 🛬 🆎 (✅#️⃣) 👈 🎏 ⚪️➡️ ⚫️❔ 👆 📣 (✅ Pydantic 🏷).
    
    📚 💼, 👆 💪 ⚙️ *➡ 🛠️ 👨‍🎨* 🔢 `response_model` ↩️ 📨 🆎.
    
    👆 💪 ⚙️ `response_model` 🔢 🙆 *➡ 🛠️*:
    
    * `@app.get()`
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. 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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/extra-models.md

        {!> ../../../docs_src/extra_models/tutorial001.py!}
        ```
    
    ### `**user_in.dict()` 简介
    
    #### Pydantic 的 `.dict()`
    
    `user_in` 是类 `UserIn` 的 Pydantic 模型。
    
    Pydantic 模型支持 `.dict()` 方法,能返回包含模型数据的**字典**。
    
    因此,如果使用如下方式创建 Pydantic 对象 `user_in`:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    就能以如下方式调用:
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 01 01:15:53 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. tests/test_dependency_overrides.py

                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["query", "q"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/body.md

        Він покращує підтримку редакторів для моделей Pydantic за допомогою:
    
        * автозаповнення
        * перевірки типу
        * рефакторингу
        * пошуку
        * інспекції
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/body.md

        Он улучшает поддержку редактором моделей Pydantic в части:
    
        * автодополнения,
        * проверки типов,
        * рефакторинга,
        * поиска,
        * инспектирования.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tests/test_inherited_custom_class.py

    import uuid
    
    import pytest
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    from .utils import needs_pydanticv1, needs_pydanticv2
    
    
    class MyUuid:
        def __init__(self, uuid_string: str):
            self.uuid = uuid_string
    
        def __str__(self):
            return self.uuid
    
        @property  # type: ignore
        def __class__(self):
            return uuid.UUID
    
        @property
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top