educative.io

Where task_id hello_world_operator_task_xcom comes from?

We use
task_instance.xcom_pull(task_ids='hello_world_operator_task_xcom')
to get a xcom value from a task, but in class HelloWorldOperatorXcom(BaseOperator) definition hello_world_operator_task_xcom is nowhere to be found, where does it come from?

The whole lesson about XCom doesn’t make much sense because of it.


Course: An Introduction to Apache Airflow - Learn Interactively
Lesson: https://www.educative.io/courses/introduction-to-apache-airflow/xcom