File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -101,9 +101,6 @@ def _backoff(attempt: int) -> float:
101101 return wait + jitter
102102
103103
104- # This function is not meant to be used directly by users.
105- # It is used internally by the SDK to poll for the result of an operation.
106- # It can be changed in the future without any notice.
107104def poll (
108105 fn : Callable [[], Tuple [Optional [T ], Optional [RetryError ]]],
109106 timeout : timedelta = timedelta (minutes = 20 ),
@@ -112,6 +109,10 @@ def poll(
112109 """Poll a function until it succeeds or times out.
113110
114111 The backoff is linear backoff and jitter.
112+
113+ This function is not meant to be used directly by users.
114+ It is used internally by the SDK to poll for the result of an operation.
115+ It can be changed in the future without any notice.
115116
116117 :param fn: Function that returns (result, error).
117118 Return (None, RetryError.continues("msg")) to continue polling.
You can’t perform that action at this time.
0 commit comments