- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for readyList (0.05 sec)
-
tests/test_response_by_alias.py
@app.get("/model", response_model=Model, response_model_by_alias=False) def read_model(): return Model(alias="Foo") @app.get("/list", response_model=List[Model], response_model_by_alias=False) def read_list(): return [{"alias": "Foo"}, {"alias": "Bar"}] @app.get("/by-alias/dict", response_model=Model) def by_alias_dict(): return {"alias": "Foo"} @app.get("/by-alias/model", response_model=Model)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 11.1K bytes - Viewed (0)