Complete the code to push an XCom value in an Airflow task.
def push_function(ti): ti.[1](key='sample_key', value='sample_value')
The method xcom_push is used to push a value to XCom in Airflow.
Complete the code to pull an XCom value inside a task.
def pull_function(ti): value = ti.[1](key='sample_key', task_ids='push_task')
The method xcom_pull is used to retrieve a value from XCom in Airflow.
Complete the code to push an XCom value in an Airflow task.
def push_function(ti): ti.[1]('sample_key', 'sample_value')
The method xcom_push is used to push a value to XCom in Airflow.
Fill both blanks to push and then pull an XCom value correctly.
def task_function(ti): ti.[1](key='key1', value='value1') pulled_value = ti.[2](key='key1', task_ids='task_function')
Use xcom_push to push and xcom_pull to pull XCom values.
Fill all three blanks to push a value, pull it, and print it inside an Airflow task.
def task_function(ti): ti.[1](key='my_key', value='my_value') value = ti.[2](key='my_key', task_ids='task_function') print([3])
Push with xcom_push, pull with xcom_pull, then print the pulled variable value.
