Skip to content
Snippets Groups Projects
Commit 5678ac0c authored by Matt Kwong's avatar Matt Kwong Committed by GitHub
Browse files

Merge pull request #11518 from matt-kwong/remove_warning

Silence noisy cache_discovery warning
parents 42b6a7e1 8961a10c
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment