[
https://issues.apache.org/jira/browse/AIRFLOW-6057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004876#comment-17004876
]
ASF subversion and git services commented on AIRFLOW-6057:
----------------------------------------------------------
Commit 6614ea71f61fa330634d3b51a9e0453a780f0f98 in airflow's branch
refs/heads/master from Mustafa Gök
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=6614ea7 ]
[AIRFLOW-6057] Update template_fields of the PythonSensor (#6656)
Add op_args and op_kwargs to the template_fields of the PythonSensor.
> 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: 2.0.0
>
>
> 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)