Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 849 for Pydantics (0.08 sec)

  1. .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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 03 15:59:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_form_models/test_tutorial001.py

                        "msg": "Field required",
                        "input": {"username": "Foo"},
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "password"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_forms/test_tutorial001.py

                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "password"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_forms/test_tutorial001_an.py

                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "password"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py

                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["body", "password"],
                        "msg": "field required",
                        "type": "value_error.missing",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/de/docs/python-types.md

    ## Pydantic Modelle
    
    <a href="https://pydantic-docs.helpmanual.io/" class="external-link" target="_blank">Pydantic</a> ist eine Python-Bibliothek fΓΌr die Validierung von Daten.
    
    Sie deklarieren die β€žFormβ€œ der Daten als Klassen mit Attributen.
    
    Und jedes Attribut hat einen Typ.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. tests/test_schema_extra_examples.py

    
    def test_openapi_schema():
        """
        Test that example overrides work:
    
        * pydantic model schema_extra is included
        * Body(example={}) overrides schema_extra in pydantic model
        * Body(examples{}) overrides Body(example={}) and schema_extra in pydantic model
        """
        app = create_app()
        client = TestClient(app)
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_handling_errors/test_tutorial004.py

        assert response.status_code == 400, response.text
        # TODO: remove when deprecating Pydantic v1
        assert (
            # TODO: remove when deprecating Pydantic v1
            "path -> item_id" in response.text
            or "'loc': ('path', 'item_id')" in response.text
        )
        assert (
            # TODO: remove when deprecating Pydantic v1
            "value is not a valid integer" in response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. 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>:
    
    //// tab | 🐍 3️⃣.6️⃣ &amp; πŸ”›
    
    ```Python hl_lines="15-23"
    {!> ../../docs_src/schema_extra_example/tutorial001.py!}
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

                            "msg": "Field required",
                            "input": {},
                        }
                    ]
                }
            )
            | IsDict(
                # TODO: remove when deprecating Pydantic v1
                {
                    "detail": [
                        {
                            "type": "value_error.missing",
                            "loc": ["cookie", "session_id"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top