Merge "mark worklist filter_criteria as a required field"

This commit is contained in:
Zuul 2018-06-25 19:15:57 +00:00 committed by Gerrit Code Review
commit a00dcd484e
1 changed files with 2 additions and 1 deletions

View File

@ -558,7 +558,8 @@ class WorklistFilter(base.APIBase):
list_id = int
"""The ID of the Worklist this filter is for."""
filter_criteria = wtypes.ArrayType(FilterCriterion)
filter_criteria = wtypes.wsattr(wtypes.ArrayType(FilterCriterion),
mandatory=True)
"""The list of criteria to apply."""
@nodoc