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

fix: handle query_params tuples in JSONConnection.build_api_url#34

Merged
tswast merged 2 commits into
googleapis:masterfrom
tswast:prettyPrint-list-of-tuples
Sep 24, 2020
Merged

fix: handle query_params tuples in JSONConnection.build_api_url#34
tswast merged 2 commits into
googleapis:masterfrom
tswast:prettyPrint-list-of-tuples

Conversation

@tswast

@tswast tswast commented Sep 23, 2020

Copy link
Copy Markdown
Contributor

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 review from a team and busunkim96 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

@plamut plamut left a comment

Copy link
Copy Markdown
Contributor

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.

Comment thread google/cloud/_http.py Outdated
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants