Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                            "ctx": {"limit_value": 100},
                        },
                        {
                            "type": "value_error.number.not_ge",
                            "loc": ["query", "offset"],
                            "msg": "ensure this value is greater than or equal to 0",
                            "ctx": {"limit_value": 0},
                        },
                        {
    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

                        "loc": ["path", "item_id"],
                        "msg": "ensure this value has at least 3 characters",
                        "type": "value_error.any_str.min_length",
                        "ctx": {"limit_value": 3},
                    }
                ]
            }
        )
    
    
    def test_path_param_maxlength_foo():
        response = client.get("/path/param-maxlength/foo")
        assert response.status_code == 200
    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_annotated.py

                    "type": "string_too_short",
                    "input": "",
                }
            )
            # TODO: remove when deprecating Pydantic v1
            | IsDict(
                {
                    "ctx": {"limit_value": 1},
                    "loc": ["query", "foo"],
                    "msg": "ensure this value has at least 1 characters",
                    "type": "value_error.any_str.min_length",
                }
            )
        ]
    }
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top