[ 
https://issues.apache.org/jira/browse/AIRFLOW-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857047#comment-15857047
 ] 

Daniel Gies commented on AIRFLOW-850:
-------------------------------------

Opened a PR:
https://github.com/apache/incubator-airflow/pull/2058

> Airflow should support a general purpose PythonSensor
> -----------------------------------------------------
>
>                 Key: AIRFLOW-850
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-850
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators
>    Affects Versions: Airflow 1.8
>            Reporter: Daniel Gies
>            Assignee: Daniel Gies
>
> Today I found myself trying to use a sensor to postpone execution until data 
> for the current execution date appeared in a file.  It occurred to me that 
> having a general purpose PythonSensor would allow developers to use the 
> sensor paradigm with arbitrary code.
> We should add a PythonSensor to the core sensors module which takes a 
> python_callable and optional args like the PythonOperator does.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to