[ 
https://issues.apache.org/jira/browse/AIRFLOW-845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin B updated AIRFLOW-845:
----------------------------
    Summary: Sensor execute method should return the value of the poke-method  
(was: Sensor execute method does not return )

> Sensor execute method should return the value of the poke-method
> ----------------------------------------------------------------
>
>                 Key: AIRFLOW-845
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-845
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: operators, xcom
>            Reporter: Robin B
>              Labels: features
>
> Sensors have no way of outputing the return value via xcom due to missing 
> return statement in the execute-method. Something like `return 
> self.poke(context)` solves it.
> If the sensors can return more than just BOOL, e.g. a list of files to be 
> manipulated, this can also be used to drive the DAG.



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

Reply via email to