Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add client_options support for api endpoint override #829

Merged
merged 6 commits into from
Mar 12, 2020

Conversation

busunkim96
Copy link
Contributor

@busunkim96 busunkim96 commented Feb 28, 2020

There is no manipulation of the endpoint url passed (e.g., storage.googleapis.com -> https://foo.googleapis.com but am happy to be convinced to do otherwise.

Replacement for #705.

Also sneaking in some kokoro config shuffling into this PR. (The status check named "Kokoro" is the real one.)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Feb 28, 2020
@busunkim96 busunkim96 requested a review from a team February 28, 2020 22:35
tests/test_discovery.py Outdated Show resolved Hide resolved
@busunkim96 busunkim96 self-assigned this Mar 6, 2020
Copy link

@plamut plamut left a comment

Choose a reason for hiding this comment

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

Apart from two suggestions, this might be a good chance to replace all deprecated self.assertEquals() with the recommended self.assertEqual() if it's not totally out of scope.

The Kokoro config changes look fine on the surface, but I don't really know much about them, thus cannot really comment on that.

googleapiclient/discovery.py Show resolved Hide resolved
googleapiclient/discovery.py Show resolved Hide resolved
Copy link

@plamut plamut left a comment

Choose a reason for hiding this comment

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

Looks good now, we just need to resolve a merge conflict.

@busunkim96 busunkim96 requested a review from plamut March 12, 2020 17:16
@busunkim96 busunkim96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. kokoro:force-run Add this label to force Kokoro to re-run the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants