Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for float_parsing (0.15 sec)

  1. tests/test_path.py

        response = client.get("/path/float/foobar")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["path", "item_id"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
                        "input": "foobar",
                    }
                ]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 34.4K bytes
    - Viewed (0)
Back to top