Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle query_params tuples in JSONConnection.build_api_url (#34)
* fix: handle query_params tuples in JSONConnection.build_api_url 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. * Update google/cloud/_http.py Co-authored-by: Peter Lamut <plamut@users.noreply.github.com>
- Loading branch information
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters