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

fix: handle query_params tuples in JSONConnection.build_api_url #34

Merged
merged 2 commits into from Sep 24, 2020

Conversation

tswast
Copy link
Contributor

@tswast tswast commented Sep 23, 2020

The docstring says both dictionary and list of tuples are allowed, following the signature of urlencode. Discovered while investigating test regression in the google-cloud-translate library.

CC @shollyman

The docstring says both dictionary and list of tuples are allowed,
following the signature of
[urlencode](https://docs.python.org/3.8/library/urllib.parse.html#urllib.parse.urlencode).
Discovered while investigating test regression in the
`google-cloud-translate` library.
@tswast tswast requested a review from a team as a code owner September 23, 2020 14:35
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 23, 2020
Copy link
Contributor

@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.

LGTM. I have a minor refactoring suggestion, but nothing blocking.

google/cloud/_http.py Outdated Show resolved Hide resolved
Co-authored-by: Peter Lamut <plamut@users.noreply.github.com>
@tswast tswast merged commit 6a9adb3 into googleapis:master Sep 24, 2020
@tswast tswast deleted the prettyPrint-list-of-tuples branch September 24, 2020 16:27
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants