Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for extra_forbidden (0.2 sec)

  1. docs/en/docs/tutorial/request-form-models.md

    * `extra`: `Mr. Poopybutthole`
    
    They will receive an error response telling them that the field `extra` is not allowed:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## Summary
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/query-param-models.md

    ```
    
    Eles receberão um retorno de **erro** informando-os que o parâmentro de consulta `tool` não é permitido:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Resumo
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 09:53:14 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/request-form-models.md

    * `extra`: `Mr. Poopybutthole`
    
    Ele receberá um retorno de erro informando-o que o campo `extra` não é permitido:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    
    ## Resumo
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_form_models/test_tutorial002.py

        )
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "extra_forbidden",
                    "loc": ["body", "extra"],
                    "msg": "Extra inputs are not permitted",
                    "input": "extra",
                }
            ]
        }
    
    
    @needs_pydanticv2
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/header-param-models.md

    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Summary
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_form_models/test_tutorial002_an.py

        )
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "extra_forbidden",
                    "loc": ["body", "extra"],
                    "msg": "Extra inputs are not permitted",
                    "input": "extra",
                }
            ]
        }
    
    
    @needs_pydanticv2
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_form_models/test_tutorial002_an_py39.py

        )
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "extra_forbidden",
                    "loc": ["body", "extra"],
                    "msg": "Extra inputs are not permitted",
                    "input": "extra",
                }
            ]
        }
    
    
    @needs_pydanticv2
    @needs_py39
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-param-models.md

    ```
    
    They will receive an **error** response telling them that the query parameter `tool` is not allowed:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["query", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Summary
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/header-param-models.md

    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    ## Resumo
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

        assert response.status_code == 422
        assert response.json() == snapshot(
            IsDict(
                {
                    "detail": [
                        {
                            "type": "extra_forbidden",
                            "loc": ["cookie", "extra"],
                            "msg": "Extra inputs are not permitted",
                            "input": "track-me-here-too",
                        }
                    ]
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top