DAG: example_xcom

schedule: @once


Task Instance: puller


Task Instance Details

Dependencies Blocking Task From Getting Scheduled
Dependency Reason
Execution Date The execution date is 2024-09-18T10:31:17.477283 but this is before the task's start date 2025-04-29T00:00:00.
Dag Not Paused Task's DAG 'example_xcom' is paused.
Trigger Rule Task's trigger rule 'all_success' requires all upstream tasks to have succeeded, but found 2 non-success(es). upstream_tasks_state={'successes': 0L, 'failed': 0L, 'upstream_failed': 0L, 'skipped': 0L, 'done': 0L}, upstream_task_ids=['push', 'push_by_returning']
Attribute: python_callable
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
def puller(**kwargs):
    ti = kwargs['ti']

    # get value_1
    v1 = ti.xcom_pull(key=None, task_ids='push')
    assert v1 == value_1

    # get value_2
    v2 = ti.xcom_pull(task_ids='push_by_returning')
    assert v2 == value_2

    # get both value_1 and value_2
    v1, v2 = ti.xcom_pull(key=None, task_ids=['push', 'push_by_returning'])
    assert (v1, v2) == (value_1, value_2)
Task Instance Attributes
Attribute Value
dag_id example_xcom
duration None
end_date None
execution_date 2024-09-18 10:31:17.477283
generate_command <function generate_command at 0x7f684541b320>
hostname
is_premature False
job_id None
key ('example_xcom', 'puller', datetime.datetime(2024, 9, 18, 10, 31, 17, 477283))
log_filepath /var/log/airflow/example_xcom/puller/2024-09-18T10:31:17.477283.log
log_url http://localhost:8080/admin/airflow/log?dag_id=example_xcom&task_id=puller&execution_date=2024-09-18T10:31:17.477283
mark_success_url http://localhost:8080/admin/airflow/action?action=success&task_id=puller&dag_id=example_xcom&execution_date=2024-09-18T10:31:17.477283&upstream=false&downstream=false
metadata MetaData(bind=None)
operator None
pid None
pool None
previous_ti None
priority_weight 1
queue default
queued_dttm None
run_as_user None
start_date None
state None
task <Task(PythonOperator): puller>
task_id puller
test_mode False
try_number 0
unixname airflow
Task Attributes
Attribute Value
adhoc False
dag <DAG: example_xcom>
dag_id example_xcom
depends_on_past False
deps set([<TIDep(Trigger Rule)>, <TIDep(Not In Retry Period)>, <TIDep(Previous Dagrun State)>])
downstream_list []
downstream_task_ids []
email None
email_on_failure True
email_on_retry True
end_date None
execution_timeout None
max_retry_delay None
on_failure_callback None
on_retry_callback None
on_success_callback None
op_args []
op_kwargs {}
owner airflow
params {}
pool None
priority_weight 1
priority_weight_total 1
provide_context True
queue default
resources {'disk': {'_qty': 512, '_units_str': 'MB', '_name': 'Disk'}, 'gpus': {'_qty': 0, '_units_str': 'gpu(s)', '_name': 'GPU'}, 'ram': {'_qty': 512, '_units_str': 'MB', '_name': 'RAM'}, 'cpus': {'_qty': 1, '_units_str': 'core(s)', '_name': 'CPU'}}
retries 0
retry_delay 0:05:00
retry_exponential_backoff False
run_as_user None
schedule_interval None
sla None
start_date 2025-04-29 00:00:00
task_id puller
task_type PythonOperator
template_ext ()
template_fields ('templates_dict',)
templates_dict None
trigger_rule all_success
ui_color #ffefeb
ui_fgcolor #000
upstream_list [<Task(PythonOperator): push>, <Task(PythonOperator): push_by_returning>]
upstream_task_ids ['push', 'push_by_returning']
wait_for_downstream False