Skip to content

Commit

Permalink
More doc str update
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudw committed Aug 14, 2024
1 parent d659f52 commit 446606e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions metaflow/plugins/aip/argo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,17 @@ def watch(
Status check frequency will be close to min_check_delay for the first 11 minutes,
and gradually approaches max_check_delay after 23 minutes.
A close mimic to async is to use _get_kfp_run above.
Implementation for async is not prioritized until specifically requested.
TODO(yunw)(AIP-5671): Async version
Args:
run_id: Argo workflow run id.
wait_timeout: Wait timeout in seconds or datetime.timedelta.
min_check_delay: Minimum check delay in seconds.
max_check_delay: Maximum check delay in seconds.
assert_success: Whether to throw exception if run is not successful.
"""

def get_delay(secs_since_start, min_delay, max_delay):
"""
this sigmoid function reaches
This sigmoid function reaches
- 0.1 after 11 minutes
- 0.5 after 15 minutes
- 1.0 after 23 minutes
Expand Down

0 comments on commit 446606e

Please sign in to comment.