You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Mustafa Gök (Jira)" <ji...@apache.org> on 2019/11/24 20:36:00 UTC
[jira] [Created] (AIRFLOW-6057) Add op_args and op_kwargs in
PythonSensor templated fields
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)