You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/12/30 13:41:00 UTC

[jira] [Updated] (AIRFLOW-6057) Add op_args and op_kwargs in PythonSensor templated fields

     [ https://issues.apache.org/jira/browse/AIRFLOW-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk updated AIRFLOW-6057:
----------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.10.8

> Add op_args and op_kwargs in PythonSensor templated fields
> ----------------------------------------------------------
>
>                 Key: AIRFLOW-6057
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6057
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: contrib, operators
>    Affects Versions: 1.10.7
>            Reporter: Mustafa Gök
>            Assignee: Mustafa Gök
>            Priority: Minor
>             Fix For: 1.10.8
>
>
> Similar Issue: AIRFLOW-1814
> Let's say we have a method that returns True or False and we want to use it with PythonSensor, but since the method is used in other applications, we don't want to edit this method by adding some XCom pulling code.
> If op_args and op_kwargs are added to the template_fields of the PythonSensor, Jinja template can be used.
>  
> Note: I am not sure about Components and Affects Versions fields of this issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)