Hi! I’m trying to rebuild (and extend) a working prototype I’ve built in a Jupyter Notebook (actually Google Colab) in Anvil as an interactive app. In Google Colab I use the following approach to authenticate with a GCP service account:
import os
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "/path-to-credentials/credentials-files.json"
And then:
from google.cloud import bigquery
to import the BigQuery library, followed by:
from google.cloud import translate
from google.cloud import language
from google.cloud.language import enums
from google.cloud.language import types
For the other libraries I need. I have seen tutorials to call a Jupyter Notebook from Anvil using Uplink, but can I authenticate and call them (most importanty - BigQuery) from Anvil directly?
Thanks!