XCom

This lesson explains how cross-communication between tasks takes place using XCom.

We'll cover the following...

This lesson explains how cross-communication between tasks takes place using XCom. XCom is short for “cross-communication,” a feature that allows tasks to communicate between themselves. Cross-communication utilizes Python’s pickling functionality. Python’s pickle module is used to serialize a Python object’s structure into a character stream and to deserialize it back. Objects that can’t be pickled can’t be shared using xcom. The object to be shared is pickled and stored in the database with an associated execution date, task instance, and DAG run ...