- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for no_alias_list (0.08 sec)
-
tests/test_response_by_alias.py
def by_alias_model(): return Model(alias="Foo") @app.get("/by-alias/list", response_model=List[Model]) def by_alias_list(): return [{"alias": "Foo"}, {"alias": "Bar"}] @app.get("/no-alias/dict", response_model=ModelNoAlias) def no_alias_dict(): return {"name": "Foo"} @app.get("/no-alias/model", response_model=ModelNoAlias) def no_alias_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)