Skip to content

Commit 446606e

Browse files
committed
More doc str update
1 parent d659f52 commit 446606e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

metaflow/plugins/aip/argo_utils.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,17 @@ def watch(
202202
Status check frequency will be close to min_check_delay for the first 11 minutes,
203203
and gradually approaches max_check_delay after 23 minutes.
204204
205-
A close mimic to async is to use _get_kfp_run above.
206-
Implementation for async is not prioritized until specifically requested.
207-
208-
TODO(yunw)(AIP-5671): Async version
205+
Args:
206+
run_id: Argo workflow run id.
207+
wait_timeout: Wait timeout in seconds or datetime.timedelta.
208+
min_check_delay: Minimum check delay in seconds.
209+
max_check_delay: Maximum check delay in seconds.
210+
assert_success: Whether to throw exception if run is not successful.
209211
"""
210212

211213
def get_delay(secs_since_start, min_delay, max_delay):
212214
"""
213-
this sigmoid function reaches
215+
This sigmoid function reaches
214216
- 0.1 after 11 minutes
215217
- 0.5 after 15 minutes
216218
- 1.0 after 23 minutes

0 commit comments

Comments
 (0)