- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for response_model_no_annotation_return_exact_dict (0.16 seconds)
-
tests/test_response_model_as_return_annotation.py
def response_model_no_annotation_return_same_model(): return User(name="John", surname="Doe") @app.get("/response_model-no_annotation-return_exact_dict", response_model=User) def response_model_no_annotation_return_exact_dict(): return {"name": "John", "surname": "Doe"} @app.get("/response_model-no_annotation-return_invalid_dict", response_model=User) def response_model_no_annotation_return_invalid_dict():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0)