diff options
author | Matt Kwong <matt-kwong@users.noreply.github.com> | 2017-06-16 14:27:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 14:27:00 -0700 |
commit | 5678ac0c8e4a0d30f28e88712302c098cbe5097c (patch) | |
tree | b77dd8a4c3b0c7d17e8edc198e0adf4f87178ae3 | |
parent | 42b6a7e13acb3315eb8f85c822403c255e5f18d6 (diff) | |
parent | 8961a10ca1d1f31ec314d5df350ead53298d249f (diff) |
Merge pull request #11518 from matt-kwong/remove_warning
Silence noisy cache_discovery warning
-rwxr-xr-x | tools/gcp/utils/big_query_utils.py | 2 |
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): |