From 482dfd5e1143a53283472709fe7f0e242b1fe2fe Mon Sep 17 00:00:00 2001 From: Honza Javorek Date: Tue, 22 Sep 2020 11:17:29 +0200 Subject: [PATCH] prevent errors in output See https://github.com/googleapis/google-api-python-client/issues/299 --- juniorguru/lib/google.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/juniorguru/lib/google.py b/juniorguru/lib/google.py index d8a46aa12e0..c751d46836d 100644 --- a/juniorguru/lib/google.py +++ b/juniorguru/lib/google.py @@ -17,4 +17,5 @@ def get_credentials(scope): def get_client(api_name, api_version, scope): credentials = get_credentials(scope) - return build(api_name, api_version, credentials=credentials) + return build(api_name, api_version, credentials=credentials, + cache_discovery=False)