Reputation: 2269
I was running an example in Spyder that worked previously:
from google.cloud import bigquery
import codecs
bigquery_client = bigquery.Client('myprojectID')
query_results = bigquery_client.run_sync_query("""
SELECT
[ my query here ]
FROM `[...]`;""")
Now I am getting an error
AttributeError: 'Client' object has no attribute 'run_sync_query'
Has something changed? Recently I reinstalled Anaconda Spyder and reinstalled google cloud sdk and python client api.
Upvotes: 0
Views: 629