From 1e087d31ff6ab654b045ba01bab78d56e510cc20 Mon Sep 17 00:00:00 2001 From: Katherine Clare Graessle Date: Fri, 8 Sep 2023 15:06:24 -0500 Subject: [PATCH] turn cache_discovery off per https://github.com/googleapis/google-api-python-client/issues/299 --- logger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger.py b/logger.py index b10323e..679a341 100644 --- a/logger.py +++ b/logger.py @@ -82,7 +82,7 @@ def save_error(question, message, sheet_id=os.getenv("GOOGLE_API_SPREADSHEET_ID" def create_sheet_in_folder(sheet_name, folder_id, sheet_range=None, sheet_data=None): creds = authenticate() - drive_service = build('drive', 'v3', credentials=creds) + drive_service = build('drive', 'v3', credentials=creds, cache_discovery=False) file_metadata = { 'name': sheet_name,