Mustafa Gök created AIRFLOW-6057:
------------------------------------
Summary: 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
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)