Hi -- we have an airflow DAG and a task within that DAG uses googleads python library. It seems like this library uses SSLContext (
This task needs to be pickled (serialized) and unfortunately SSLContext can't be pickled, specifically I am seeing TypeError: can't pickle SSLContext objects error.
oauth2_client = oauth2.GoogleRefreshTokenClient(
client_id=client_id,
client_secret=client_secret,
refresh_token=refresh_token,
)
self.client = adwords.AdWordsClient(
developer_token=developer_token,
oauth2_client=oauth2_client,
user_agent="adwords_client_hook",
client_customer_id=client_customer_id,
)
Is there someway to construct the client or something so that there are no SSLContext objects? Thank you