Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 850 for pydantic (0.07 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial001.py

                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "value is not a valid integer",
                        "type": "type_error.integer",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py

                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "value is not a valid integer",
                        "type": "type_error.integer",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/body.md

    Он улучшает поддержку редактором моделей Pydantic в части:
    
    * автодополнения,
    * проверки типов,
    * рефакторинга,
    * поиска,
    * инспектирования.
    
    ///
    
    ## Использование модели
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/path-operation-advanced-configuration.md

    //// tab | Pydantic v2
    
    ```Python hl_lines="17-22  24"
    {!> ../../docs_src/path_operation_advanced_configuration/tutorial007.py!}
    ```
    
    ////
    
    //// tab | Pydantic v1
    
    ```Python hl_lines="17-22  24"
    {!> ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!}
    ```
    
    ////
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/encoder.md

    The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`.
    
    You can use `jsonable_encoder` for that.
    
    It receives an object, like a Pydantic model, and returns a JSON compatible version:
    
    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 23:31:16 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. docs/em/docs/deployment/versions.md

    👆 🚫🔜 🚫 📌 ⏬ `starlette`.
    
    🎏 ⏬ **FastAPI** 🔜 ⚙️ 🎯 🆕 ⏬ 💃.
    
    , 👆 💪 ➡️ **FastAPI** ⚙️ ☑ 💃 ⏬.
    
    ## 🔃 Pydantic
    
    Pydantic 🔌 💯 **FastAPI** ⏮️ 🚮 👍 💯, 🆕 ⏬ Pydantic (🔛 `1.0.0`) 🕧 🔗 ⏮️ FastAPI.
    
    👆 💪 📌 Pydantic 🙆 ⏬ 🔛 `1.0.0` 👈 👷 👆 & 🔛 `2.0.0`.
    
    🖼:
    
    ```txt
    pydantic>=1.2.0,<2.0.0
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py

                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "value is not a valid integer",
                        "type": "type_error.integer",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/schema-extra-example.md

    `"json_schema_extra"`를 생성된 JSON 스키마에서 보여주고 싶은 별도의 데이터와 `examples`를 포함하는 `dict`으로 설정할 수 있습니다.
    
    ////
    
    //// tab | Pydantic v1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. docs/uk/docs/tutorial/body.md

    Він покращує підтримку редакторів для моделей Pydantic за допомогою:
    
    * автозаповнення
    * перевірки типу
    * рефакторингу
    * пошуку
    * інспекції
    
    ///
    
    ## Використовуйте модель
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request-form-models.md

    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | "Nota"
    
    Isto é suportado desde a versão `0.113.0` do FastAPI. 🤓
    
    ///
    
    ## Modelos Pydantic para Formulários
    
    Você precisa apenas declarar um **modelo Pydantic** com os campos que deseja receber como **campos de formulários**, e então declarar o parâmetro como um `Form`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="9-11  15"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top