NameError: name 'bigquery' is not defined
santhoshdc1590 opened this issue · 3 comments
santhoshdc1590 commented
I deployed my function.py on google cloud
I am getting NameError: name 'bigquery' is not defined
error in error logs when a hit the google cloud function URL.
I have added below code
from cloudfn.google_account import get_credentials
biquery_client = bigquery.Client(credentials=get_credentials())
I have no idea what's happening
My bigquery API is already enabled according to this post
Can anyone help?
santhoshdc1590 commented
santhoshdc1590 commented
I still am facing this issue!
Any help anyone?
santhoshdc1590 commented
pip install --upgrade google-cloud