Skip to content

Commit 71e5888

Browse files
committed
changed docstring
1 parent 6dbe17d commit 71e5888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/api_core/retry/retry_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def _retry_error_helper(
196196
- deadline: the deadline for the retry, calculated as a diff from time.monotonic()
197197
- next_sleep: the next sleep interval
198198
- error_list: the list of exceptions that have been raised so far
199-
- predicate_fn: predicate used to determine if the exception should be retried
199+
- predicate_fn: takes `exc` and returns true if the operation should be retried
200200
- on_error_fn: callback to execute when a retryable error occurs
201201
- exc_factory_fn: callback used to build the exception to be raised on terminal failure
202202
- original_timeout_val: the original timeout value for the retry (in seconds),

0 commit comments

Comments
 (0)