- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for post_tuple_of_models (0.07 sec)
-
tests/test_tuples.py
class Coordinate(BaseModel): x: float y: float @app.post("/model-with-tuple/") def post_model_with_tuple(item_group: ItemGroup): return item_group @app.post("/tuple-of-models/") def post_tuple_of_models(square: tuple[Coordinate, Coordinate]): return square @app.post("/tuple-form/") def hello(values: tuple[int, int] = Form()): return values client = TestClient(app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 9.8K bytes - Viewed (0)