Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

feat: pass 'client_options' to base class ctor#60

Merged
gcf-merge-on-green[bot] merged 2 commits intomasterfrom
50-pass-client_options-to-base-ctor
Aug 5, 2020
Merged

feat: pass 'client_options' to base class ctor#60
gcf-merge-on-green[bot] merged 2 commits intomasterfrom
50-pass-client_options-to-base-ctor

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented Aug 5, 2020

packaging: pin 'google-cloud-core >= 1.4.0'

Closes #50.

packaging: pin 'google-cloud-core >= 1.4.0'

Closes #50.
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 5, 2020
Copy link
Contributor

@chrisrossi chrisrossi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm finding it strange that google.cloud.datastore.client.Client was already accepting a client_options argument but wasn't doing anything with it. LGTM, other than confusion about the preceding state of the code.

@tseaver tseaver added the automerge Merge the pull request once unit tests and other checks pass. label Aug 5, 2020
@tseaver
Copy link
Contributor Author

tseaver commented Aug 5, 2020

@chrisrossi If you look below the super call in the method, the constructor used / uses client_options to find an overridden api_endpoint URL.

@gcf-merge-on-green gcf-merge-on-green bot merged commit 2575697 into master Aug 5, 2020
@tseaver tseaver deleted the 50-pass-client_options-to-base-ctor branch August 5, 2020 21:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement new client options

2 participants