Skip to content

Commit

Permalink
Fix choices for return values. (#76070)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 19, 2021
1 parent 6e6f846 commit 227f439
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ def return_schema(for_collection):
Required('type'): Any('bool', 'complex', 'dict', 'float', 'int', 'list', 'str'),
'version_added': version(for_collection),
'version_added_collection': collection_name,
'choices': Any([object], (object,)),
'sample': json_value,
'example': json_value,
'contains': Any(None, *list_dict_return_contains_schema),
Expand Down

0 comments on commit 227f439

Please sign in to comment.