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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17004875#comment-17004875 ] 

ASF GitHub Bot commented on AIRFLOW-6057:
-----------------------------------------

potiuk commented on pull request #6656: [AIRFLOW-6057] Update template_fields of the PythonSensor
URL: https://github.com/apache/airflow/pull/6656
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>
> 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)