Skip to content

Commit c2374a4

Browse files
author
Yuan Yao
committed
Add more info to the docstring
1 parent 6f66093 commit c2374a4

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
@@ -118,7 +118,8 @@ def tasks(self, **kwargs):
118118
status can be 'completed', 'pending', or 'canceled'.
119119
type is the task type.
120120
limit is the max number of results to display per page,
121-
offset is the number of results to skip (for showing more pages).
121+
next_token can be use to fetch the next page of tasks.
122+
offset (deprecated) is the number of results to skip (for showing more pages).
122123
"""
123124
allowed_kwargs = {'start_time', 'end_time', 'status', 'type', 'project',
124125
'batch', 'limit', 'offset', 'completed_before', 'completed_after',

0 commit comments

Comments
 (0)