Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for string_type (0.19 sec)

  1. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

        assert response.status_code == 422, response.text
        # insert_assert(response.json())
        assert response.json() == {
            "detail": [
                {
                    "type": "string_type",
                    "loc": ["tags", 3],
                    "msg": "Input should be a valid string",
                    "input": {"sneaky": "object"},
                }
            ]
        }
    
    
    @needs_pydanticv2
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top