Skip to content

Commit

Permalink
Disable google-api-client cache discovery
Browse files Browse the repository at this point in the history
Cache discovery seems broken atm, disable it to suppress python import errors.

See

googleapis/google-api-python-client#299
  • Loading branch information
sctweedie committed Apr 15, 2020
1 parent 6c4370f commit 6bdc536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csvsync/gsheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(self, fileconfig, auth):

# Find all the sheet tabs from the given spreadsheet

service = build('sheets', 'v4', credentials = auth.creds).spreadsheets()
service = build('sheets', 'v4', credentials = auth.creds, cache_discovery = False).spreadsheets()
self.service = service
self.spreadsheet_id = fileconfig['spreadsheet_id']

Expand Down

0 comments on commit 6bdc536

Please sign in to comment.