airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beau Barker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-1950) Make xcom_pull's task_ids parameter optional
Date Fri, 22 Dec 2017 22:08:00 GMT
Beau Barker created AIRFLOW-1950:
------------------------------------

             Summary: Make xcom_pull's task_ids parameter optional
                 Key: AIRFLOW-1950
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1950
             Project: Apache Airflow
          Issue Type: Improvement
          Components: models
    Affects Versions: Airflow 1.8, Airflow 1.7.0
            Reporter: Beau Barker
            Assignee: Beau Barker
            Priority: Minor


The xcom_pull methods require a {{task_ids}} parameter to specify which task pushed the value.

However you can pass None to bypass this filter, which says "give me the process_id value,
regardless of which task pushed it".

{{ti.xcom_pull(task_ids=None, key='process_id')}}

Since task_ids is optional, we should make it an optional parameter.

{{ti.xcom_pull(key='process_id')}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message