Skip to content
Snippets Groups Projects
Commit 8961a10c authored by Matt Kwong's avatar Matt Kwong
Browse files

Silence noisy cache_discovery warning

parent 3c383805
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