Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hooks: Fix googleapiclient.model missing docs and improve test (#596)
The hook googleapiclient.model was raising this warning when running Pyinstaller: WARNING: collect_data_files - skipping data collection for module 'googleapiclient.discovery' as it is not a package. Needing workarounds to run the api client, see googleapis/google-api-python-client#876. But this can be fixed by pointing it to the correct package googleapiclient.discovery_cache. The test also received an improvement. The current test only run from googleapiclient.discovery import build which is not sufficient because the error happens when calling the build function. Calling this function doesn't require a valid API key.
- Loading branch information
1 parent
7ccda99
commit b8c741d
Showing
4 changed files
with
16 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update hook for ``googleapiclient.model``, fixing missing discovery docs and improving test. |
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
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