You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Waits until the task is completed. Periodically queries the server
63
-
to update the task attributes.
65
+
to update the task attributes.
64
66
65
-
Args:
66
-
timeout_seconds (float): Maximum time this method can block, in seconds. Defaults to five minutes.
67
-
"""
68
-
check_frequency=2# frequency of checking, in seconds
67
+
Args:
68
+
timeout_seconds (float): Maximum time this method can block, in seconds. Defaults to five minutes.
69
+
check_frequency (float): Frequency of queries to server to update the task attributes, in seconds. Defaults to two seconds. Minimal value is two seconds.
70
+
"""
71
+
ifcheck_frequency<2.0:
72
+
raiseValueError(
73
+
"Expected check frequency to be two seconds or more")
0 commit comments