Varun Joshi
04/19/2021, 3:56 AMfrom google.cloud import datacatalog_v1
from google.cloud import bigquery
client = bigquery.Client()
datacatalog_client = datacatalog_v1.DataCatalogClient()
I get an error saying that:
Clients have non-trivial state that is local and unpickleable
Can someone tell me what does this mean? I'm assuming this has something to do with GCP.
I'm using a local service account json file and also importing pubsub modules, I didn't have any issue then.Varun Joshi
04/19/2021, 4:08 AMKevin Kho
Varun Joshi
04/19/2021, 5:16 AMKevin Kho
@task
def func()
....
return client
Varun Joshi
04/19/2021, 5:18 AMVarun Joshi
04/19/2021, 5:20 AMKevin Kho
Varun Joshi
04/19/2021, 5:23 AMKevin Kho
Varun Joshi
04/19/2021, 5:27 AMVarun Joshi
04/19/2021, 6:01 AM