diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddcc2e6c..286ff75a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,10 +32,10 @@ jobs: python-version: ["3.7", "3.8", "3.9", "3.10"] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: "actions/setup-python@v1" + uses: "actions/setup-python@v3" with: python-version: "${{ matrix.python-version }}" diff --git a/.gitignore b/.gitignore index 74d89080..93e7a2fc 100644 --- a/.gitignore +++ b/.gitignore @@ -35,4 +35,3 @@ googlemaps.egg-info .vscode/ .idea/ index.py -test.py diff --git a/googlemaps/addressvalidation.py b/googlemaps/addressvalidation.py index 45b74655..149f3b48 100644 --- a/googlemaps/addressvalidation.py +++ b/googlemaps/addressvalidation.py @@ -1,5 +1,5 @@ # -# Copyright 2014 Google Inc. All rights reserved. +# Copyright 2022 Google Inc. All rights reserved. # # # Licensed under the Apache License, Version 2.0 (the "License"); you may not @@ -77,4 +77,5 @@ def addressvalidation(client, addressLines, regionCode=None , locality=None, ena return client._request("/v1:validateAddress", {}, # No GET params base_url=_ADDRESSVALIDATION_BASE_URL, extract_body=_addressvalidation_extract, - post_json=params) \ No newline at end of file + post_json=params) + \ No newline at end of file diff --git a/googlemaps/client.py b/googlemaps/client.py index 6684ed1e..301d6cab 100644 --- a/googlemaps/client.py +++ b/googlemaps/client.py @@ -180,7 +180,6 @@ def __init__(self, key=None, client_id=None, client_secret=None, "verify": True, # NOTE(cbro): verify SSL certs. }) - self.queries_quota : int self.queries_per_second = queries_per_second self.queries_per_minute = queries_per_minute try: diff --git a/tests/test_addressvalidation.py b/tests/test_addressvalidation.py index 69ad8b70..d1f2f589 100644 --- a/tests/test_addressvalidation.py +++ b/tests/test_addressvalidation.py @@ -26,7 +26,7 @@ class AddressValidationTest(TestCase): def setUp(self): - self.key = "AIzaasdf" + self.key = "AIzaSyD_sJl0qMA65CYHMBokVfMNA7AKyt5ERYs" self.client = googlemaps.Client(self.key) @responses.activate