Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions api_core/google/api_core/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def exponential_sleep_generator(initial, maximum, multiplier=_DEFAULT_DELAY_MULT
https://cloud.google.com/storage/docs/exponential-backoff

Args:
initial (float): The minimum about of time to delay. This must
initial (float): The minimum amout of time to delay. This must
be greater than 0.
maximum (float): The maximum about of time to delay.
maximum (float): The maximum amout of time to delay.
multiplier (float): The multiplier applied to the delay.

Yields:
Expand Down Expand Up @@ -223,9 +223,9 @@ class Retry(object):
Args:
predicate (Callable[Exception]): A callable that should return ``True``
if the given exception is retryable.
initial (float): The minimum about of time to delay in seconds. This
initial (float): The minimum a,out of time to delay in seconds. This
must be greater than 0.
maximum (float): The maximum about of time to delay in seconds.
maximum (float): The maximum amout of time to delay in seconds.
multiplier (float): The multiplier applied to the delay.
deadline (float): How long to keep retrying in seconds.
"""
Expand Down Expand Up @@ -314,9 +314,9 @@ def with_delay(self, initial=None, maximum=None, multiplier=None):
"""Return a copy of this retry with the given delay options.

Args:
initial (float): The minimum about of time to delay. This must
initial (float): The minimum amout of time to delay. This must
be greater than 0.
maximum (float): The maximum about of time to delay.
maximum (float): The maximum amout of time to delay.
multiplier (float): The multiplier applied to the delay.

Returns:
Expand Down