Skip to content

Commit 89a869b

Browse files
added flag to filter by customer review status.
1 parent 327b832 commit 89a869b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scaleapi/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,12 @@ def tasks(self, **kwargs):
133133
type is the task type.
134134
limit is the max number of results to display per page,
135135
next_token can be use to fetch the next page of tasks.
136+
customer_review_status can be 'pending', 'fixed', 'accepted' or 'rejected'.
136137
offset (deprecated) is the number of results to skip (for showing more pages).
137138
"""
138139
allowed_kwargs = {'start_time', 'end_time', 'status', 'type', 'project',
139140
'batch', 'limit', 'offset', 'completed_before', 'completed_after',
140-
'next_token'}
141+
'next_token', 'customer_review_status'}
141142
for key in kwargs:
142143
if key not in allowed_kwargs:
143144
raise ScaleInvalidRequest('Illegal parameter %s for ScaleClient.tasks()'

0 commit comments

Comments
 (0)