Skip to content

Commit

Permalink
turn cache_discovery off per googleapis/google-api-python-client#299
Browse files Browse the repository at this point in the history
  • Loading branch information
Katherine Clare Graessle authored and kaylynnwatson committed Sep 18, 2023
1 parent 6c07301 commit 1e087d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1e087d3

Please sign in to comment.