Skip to content

Commit cf36b28

Browse files
committed
update docstrings
1 parent 0491f3a commit cf36b28

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

taskbadger/sdk.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ def create_task(
7878
value: The current 'value' of the task.
7979
value_max: The maximum value the task is expected to achieve.
8080
data: Custom task data.
81-
max_runtime: Maximum expected runtime (minutes).
82-
stale_timeout: Maximum allowed time between updates (minutes).
81+
max_runtime: Maximum expected runtime (seconds).
82+
stale_timeout: Maximum allowed time between updates (seconds).
8383
actions: Task actions.
8484
monitor_id: ID of the monitor to associate this task with.
8585
@@ -128,8 +128,8 @@ def update_task(
128128
value: The current 'value' of the task.
129129
value_max: The maximum value the task is expected to achieve.
130130
data: Custom task data.
131-
max_runtime: Maximum expected runtime (minutes).
132-
stale_timeout: Maximum allowed time between updates (minutes).
131+
max_runtime: Maximum expected runtime (seconds).
132+
stale_timeout: Maximum allowed time between updates (seconds).
133133
actions: Task actions.
134134
135135
Returns:

0 commit comments

Comments
 (0)