Silence noisy cache_discovery warning

pull/11518/head
Matt Kwong 8 years ago
parent 3c3838050e
commit 8961a10ca1
  1. 2
      tools/gcp/utils/big_query_utils.py

@ -31,7 +31,7 @@ def create_big_query():
"""Authenticates with cloud platform and gets a BiqQuery service object
"""
creds = GoogleCredentials.get_application_default()
return discovery.build('bigquery', 'v2', credentials=creds)
return discovery.build('bigquery', 'v2', credentials=creds, cache_discovery=False)
def create_dataset(biq_query, project_id, dataset_id):

Loading…
Cancel
Save