Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for less_than_equal (0.07 sec)

  1. tests/test_tutorial/test_query_param_models/test_tutorial002.py

            },
        )
        assert response.status_code == 422
        assert response.json() == snapshot(
            IsDict(
                {
                    "detail": [
                        {
                            "type": "less_than_equal",
                            "loc": ["query", "limit"],
                            "msg": "Input should be less than or equal to 100",
                            "input": "150",
                            "ctx": {"le": 100},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. tests/test_path.py

        response = client.get("/path/param-le/42")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "less_than_equal",
                        "loc": ["path", "item_id"],
                        "msg": "Input should be less than or equal to 3",
                        "input": "42",
                        "ctx": {"le": 3.0},
                    }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_param_models/test_tutorial001.py

            },
        )
        assert response.status_code == 422
        assert response.json() == snapshot(
            IsDict(
                {
                    "detail": [
                        {
                            "type": "less_than_equal",
                            "loc": ["query", "limit"],
                            "msg": "Input should be less than or equal to 100",
                            "input": "150",
                            "ctx": {"le": 100},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top