aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gcp
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2017-06-16 12:29:59 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2017-06-16 12:29:59 -0700
commit8961a10ca1d1f31ec314d5df350ead53298d249f (patch)
treedaec2cce283022fe331a3b711171febced3415b9 /tools/gcp
parent3c3838050eaac83003c39f9228c4f8e2679d645d (diff)
Silence noisy cache_discovery warning
Diffstat (limited to 'tools/gcp')
-rwxr-xr-xtools/gcp/utils/big_query_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gcp/utils/big_query_utils.py b/tools/gcp/utils/big_query_utils.py
index efc5c1839f..76c86645b7 100755
--- a/tools/gcp/utils/big_query_utils.py
+++ b/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):