one of our classes, which made use of the pbipy
library, could not be passed through XCom.
we were getting the following error:
airflow cannot pickle [CLASS] object
the fix involved changing a cfg
variable to false:
# Whether to enable pickling for xcom (note that this is insecure and allows for
# RCE exploits).
# Variable: AIRFLOW__CORE__ENABLE_XCOM_PICKLING
enable_xcom_pickling = False