- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for response_model_no_annotation_return_invalid_model (0.2 sec)
-
tests/test_response_model_as_return_annotation.py
def response_model_no_annotation_return_invalid_dict(): return {"name": "John"} @app.get("/response_model-no_annotation-return_invalid_model", response_model=User) def response_model_no_annotation_return_invalid_model(): return Item(name="Foo", price=42.0) @app.get( "/response_model-no_annotation-return_dict_with_extra_data", response_model=User )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 14 09:49:57 UTC 2023 - 47.7K bytes - Viewed (0)