Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Core: about of time -> amount of time #9052

Merged
merged 1 commit into from
Aug 19, 2019
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