Skip to content

Commit

Permalink
feat: pass 'client_options' to base class ctor (#60)
Browse files Browse the repository at this point in the history
packaging: pin 'google-cloud-core >= 1.4.0'

Closes #50.
  • Loading branch information
tseaver committed Aug 5, 2020
1 parent eea4593 commit 2575697
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion google/cloud/datastore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ def __init__(
_use_grpc=None,
):
super(Client, self).__init__(
project=project, credentials=credentials, _http=_http
project=project,
credentials=credentials,
client_options=client_options,
_http=_http,
)
self.namespace = namespace
self._client_info = client_info
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
"google-api-core[grpc] >= 1.14.0, < 2.0.0dev",
"google-cloud-core >= 1.0.3, < 2.0dev",
"google-cloud-core >= 1.4.0, < 2.0dev",
]
extras = {}

Expand Down

0 comments on commit 2575697

Please sign in to comment.