From 7bb713d13b1fe3cca58263f5e499136a84abc456 Mon Sep 17 00:00:00 2001 From: Vanessasaurus Date: Tue, 11 Aug 2020 18:12:08 -0600 Subject: [PATCH 1/2] docs: fix spelling errors for amount in retry (#69) Fixes https://github.com/googleapis/python-api-core/issues/68 Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-api-core/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [NA] Ensure the tests and linter pass - [NA] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fixes https://github.com/googleapis/python-api-core/issues/68 --- google/api_core/retry.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/google/api_core/retry.py b/google/api_core/retry.py index 446d43c0..ea890628 100644 --- a/google/api_core/retry.py +++ b/google/api_core/retry.py @@ -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 amout of time to delay. This must + initial (float): The minimum amount of time to delay. This must be greater than 0. - maximum (float): The maximum amout of time to delay. + maximum (float): The maximum amount of time to delay. multiplier (float): The multiplier applied to the delay. Yields: @@ -333,9 +333,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 amout of time to delay. This must + initial (float): The minimum amount of time to delay. This must be greater than 0. - maximum (float): The maximum amout of time to delay. + maximum (float): The maximum amount of time to delay. multiplier (float): The multiplier applied to the delay. Returns: From 622931721ce34839d630aa1e974c7d8f47b5d25e Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2020 09:31:06 -0700 Subject: [PATCH 2/2] chore: release 1.22.1 (#70) * chore: updated CHANGELOG.md [ci skip] * chore: updated setup.cfg [ci skip] * chore: updated setup.py Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba764fa0..79ee2556 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://pypi.org/project/google-api-core/#history +### [1.22.1](https://www.github.com/googleapis/python-api-core/compare/v1.22.0...v1.22.1) (2020-08-12) + + +### Documentation + +* fix spelling errors for amount in retry ([#69](https://www.github.com/googleapis/python-api-core/issues/69)) ([7bb713d](https://www.github.com/googleapis/python-api-core/commit/7bb713d13b1fe3cca58263f5e499136a84abc456)) + ## [1.22.0](https://www.github.com/googleapis/python-api-core/compare/v1.21.0...v1.22.0) (2020-07-21) diff --git a/setup.py b/setup.py index b1884dfe..6fa56b3c 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ name = "google-api-core" description = "Google API client core library" -version = "1.22.0" +version = "1.22.1" # Should be one of: # 'Development Status :: 3 - Alpha' # 'Development Status :: 4 - Beta'