Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 55 of 55 for Kissling (0.17 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

        response = client.post("/files/")
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
                        "loc": ["body", "files"],
                        "msg": "Field required",
                        "input": None,
                    }
                ]
            }
        ) | IsDict(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. fastapi/_compat.py

            return sequence_shape_to_type[field.shape](value)  # type: ignore[no-any-return,attr-defined]
    
        def get_missing_field_error(loc: Tuple[str, ...]) -> Dict[str, Any]:
            missing_field_error = ErrorWrapper(MissingError(), loc=loc)  # type: ignore[call-arg]
            new_error = ValidationError([missing_field_error], RequestErrorModel)
            return new_error.errors()[0]  # type: ignore[return-value]
    
        def create_body_model(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/query-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Dado que `needy` es un parámetro requerido necesitarías declararlo en la URL:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/query-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Como `needy` é um parâmetro obrigatório, você precisaria defini-lo na URL:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/query-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Поскольку `needy` является обязательным параметром, вам необходимо указать его в URL-адресе:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top