Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_no_response_model_objectlist (0.16 sec)

  1. tests/test_serialize_response_dataclass.py

    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():
        return [
            Item(name="foo", date=datetime(2021, 7, 26)),
            Item(name="bar", date=datetime(2021, 7, 26), price=1.0),
    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