Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_no_response_model_object (0.14 sec)

  1. tests/test_serialize_response_dataclass.py

            Item(name="bar", date=datetime(2021, 7, 26), price=1.0),
            Item(name="baz", date=datetime(2021, 7, 26), price=2.0, owner_ids=[1, 2, 3]),
        ]
    
    
    @app.get("/items/no-response-model/object")
    def get_no_response_model_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/no-response-model/objectlist")
    def get_no_response_model_objectlist():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top