Skip to content

Commit 11ffb98

Browse files
author
Shivaal Roy
committed
update all-tasks call
1 parent 9889164 commit 11ffb98

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
@@ -117,7 +117,8 @@ def tasks(self, **kwargs):
117117
limit is the max number of results to display per page,
118118
offset is the number of results to skip (for showing more pages).
119119
"""
120-
allowed_kwargs = {'start_time', 'end_time', 'status', 'type', 'limit', 'offset'}
120+
allowed_kwargs = {'start_time', 'end_time', 'status', 'type', 'project',
121+
'batch', 'limit', 'offset'}
121122
for key in kwargs:
122123
if key not in allowed_kwargs:
123124
raise ScaleInvalidRequest('Illegal parameter %s for ScaleClient.tasks()'

0 commit comments

Comments
 (0)