Skip to content

Commit 478e533

Browse files
authored
Merge pull request #21 from AgrimAsthana-CS/customer_review_status
added flag to filter by customer review status.
2 parents 327b832 + 6b93c4c commit 478e533

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', 'updated_before', 'updated_after'}
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)