Skip to content

Commit 57744be

Browse files
committed
add arguments to list all tasks
1 parent 63d49e6 commit 57744be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def tasks(self, **kwargs):
118118
offset is the number of results to skip (for showing more pages).
119119
"""
120120
allowed_kwargs = {'start_time', 'end_time', 'status', 'type', 'project',
121-
'batch', 'limit', 'offset'}
121+
'batch', 'limit', 'offset', 'completed_before', 'completed_after'}
122122
for key in kwargs:
123123
if key not in allowed_kwargs:
124124
raise ScaleInvalidRequest('Illegal parameter %s for ScaleClient.tasks()'

0 commit comments

Comments
 (0)