pohek321 commented on issue #19357:
URL: https://github.com/apache/airflow/issues/19357#issuecomment-969351273


   @alexott I was able to resolve the issue by adding this to my Airflow 
environment variables:
   
   `AIRFLOW__CORE__ENABLE_XCOM_PICKLING=TRUE`
   
   However, this isn't very intuitive for users calling the method from this 
hook. May be worthwhile to make a comment like the following:
   
   `Any Airflow tasks that call the get_run_state method will result in failure 
unless you have enabled xcom pickling. This can be done using the following 
environment variable: AIRFLOW__CORE__ENABLE_XCOM_PICKLING=TRUE`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to