- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for VALID (0.01 sec)
-
tests/test_tutorial/test_body_nested_models/test_tutorial008.py
data = [{"url": "not a valid url", "name": "Example"}] response = client.post("/images/multiple", json=data) assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "loc": ["body", 0, "url"], "input": "not a valid url", "msg": "Input should be a valid URL, relative URL without a base",Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.4K bytes - Viewed (0) -
tests/test_path.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 20.5K bytes - Viewed (1) -
tests/test_tutorial/test_body/test_tutorial001.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 10.6K bytes - Viewed (0) -
tests/test_query.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.4K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
"price": 35.4, "image": {"url": "not a valid url", "name": "example image"}, }, ) assert response.status_code == 422, response.text assert response.json() == { "detail": [ { "loc": ["body", "image", "url"], "input": "not a valid url", "msg": "Input should be a valid URL, relative URL without a base",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 9.6K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py
mod = importlib.import_module( f"docs_src.query_params_str_validations.{request.param}" ) client = TestClient(mod.app) return client @pytest.mark.xfail( reason="Code example is not valid. See https://github.com/fastapi/fastapi/issues/12419" ) def test_query_params_str_validations_no_query(client: TestClient): response = client.get("/items/") assert response.status_code == 200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5K bytes - Viewed (0) -
tests/test_multi_query_errors.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_params/test_tutorial006.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 5.3K bytes - Viewed (0) -
tests/test_multi_body_errors.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 6.1K bytes - Viewed (0) -
fastapi/utils.py
return set(re.findall("{(.*?)}", path)) _invalid_args_message = ( "Invalid args for response field! Hint: " "check that {type_} is a valid Pydantic field type. " "If you are using a return type annotation that is not a valid Pydantic " "field (e.g. Union[Response, dict, None]) you can disable generating the " "response model from the type annotation with the path operation decorator "
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 5.1K bytes - Viewed (0)