Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_query_repr_ellipsis (0.08 sec)

  1. tests/test_params_repr.py

        )
    
    
    def test_query_repr_str():
        assert repr(Query("teststr")) == "Query(teststr)"
    
    
    def test_query_repr_none():
        assert repr(Query(None)) == "Query(None)"
    
    
    def test_query_repr_ellipsis():
        assert repr(Query(...)) == IsOneOf(
            "Query(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
            "Query(Ellipsis)",
        )
    
    
    def test_query_repr_number():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top