From dcebf77cb8dc4e45a2bd8e95f8851d86811322a7 Mon Sep 17 00:00:00 2001 From: sandre35 <65041823+sandre35@users.noreply.github.com> Date: Tue, 22 Nov 2022 20:29:15 +0100 Subject: [PATCH 1/2] fix: correct lazy attribute inside logger (#457) --- googlemaps/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlemaps/client.py b/googlemaps/client.py index 301d6cab..d1f4ab6a 100644 --- a/googlemaps/client.py +++ b/googlemaps/client.py @@ -191,7 +191,7 @@ def __init__(self, key=None, client_id=None, client_secret=None, self.queries_quota = math.floor(self.queries_per_minute/60) else: sys.exit("MISSING VALID NUMBER for queries_per_second or queries_per_minute") - logger.info("API queries_quota:", self.queries_quota) + logger.info("API queries_quota: %s", self.queries_quota) except NameError: sys.exit("MISSING VALUE for queries_per_second or queries_per_minute") From ca042f50ad8c2a68ed99dd89dad12bfe9b31cdf3 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 22 Nov 2022 19:30:32 +0000 Subject: [PATCH 2/2] chore(release): 4.7.3 [skip ci] ## [4.7.3](https://github.com/googlemaps/google-maps-services-python/compare/v4.7.2...v4.7.3) (2022-11-22) ### Bug Fixes * correct lazy attribute inside logger ([#457](https://github.com/googlemaps/google-maps-services-python/issues/457)) ([dcebf77](https://github.com/googlemaps/google-maps-services-python/commit/dcebf77cb8dc4e45a2bd8e95f8851d86811322a7)) --- googlemaps/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/googlemaps/__init__.py b/googlemaps/__init__.py index ca3b7518..f25d9359 100644 --- a/googlemaps/__init__.py +++ b/googlemaps/__init__.py @@ -15,7 +15,7 @@ # the License. # -__version__ = "4.7.2" +__version__ = "4.7.3" from googlemaps.client import Client from googlemaps import exceptions diff --git a/setup.py b/setup.py index 89c10a0f..239eceb0 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( name="googlemaps", - version="4.7.2", + version="4.7.3", description="Python client library for Google Maps Platform", long_description=readme + changelog, long_description_content_type="text/markdown",