Skip to content

Commit

Permalink
Disable cache discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli Hall committed Nov 21, 2017
1 parent ad35d6e commit 04906ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydataproc/dataproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, project, region='europe-west1', zone='europe-west1-b'):

def get_client(self):
"""Builds a client to the dataproc API."""
dataproc = googleapiclient.discovery.build('dataproc', 'v1')
dataproc = googleapiclient.discovery.build('dataproc', 'v1', cache_discovery=False)
return dataproc

def is_running(self, cluster_name):
Expand Down

0 comments on commit 04906ae

Please sign in to comment.