Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: discovery uses V2 when version is None
Passing version=None to discovery.build(), with intent to always get the latest version of the discovery document, no longer attempts to use Discovery V1, which fails with Bad Request errors. Instead, it uses Discovery V2, which supports null version use case. Fixes: #971
- Loading branch information
Showing
2 changed files
with
57 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