- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_body_repr_number (0.22 sec)
-
tests/test_params_repr.py
def test_body_repr_ellipsis(): assert repr(Body(...)) == IsOneOf( "Body(PydanticUndefined)", # TODO: remove when deprecating Pydantic v1 "Body(Ellipsis)", ) def test_body_repr_number(): assert repr(Body(1)) == "Body(1)" def test_body_repr_list(): assert repr(Body([])) == "Body([])" def test_depends_repr(): assert repr(Depends()) == "Depends(NoneType)"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.3K bytes - Viewed (0)