Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Kemple (0.17 sec)

  1. tests/test_inherited_custom_class.py

            return SomeCustomClass(a_uuid=MyUuid("b8799909-f914-42de-91bc-95c819218d01"))
    
        client = TestClient(app)
    
        with client:
            response_simple = client.get("/fast_uuid")
            response_pydantic = client.get("/get_custom_class")
    
        assert response_simple.json() == {
            "fast_uuid": "a10ff360-3b1e-4984-a26f-d3ab460bdb51"
        }
    
        assert response_pydantic.json() == {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top