You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2020/01/19 23:37:06 UTC

[jira] [Closed] (AIRFLOW-845) Sensor execute method should return the value of the poke-method

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

Jarek Potiuk closed AIRFLOW-845.
--------------------------------
    Resolution: Won't Fix

I am closing some old issues that are not relevant any more. Please let me know if you want to reopen it.

> 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
>            Priority: Major
>              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
(v8.3.4#803005)