airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin B (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-845) Sensor execute method does not return
Date Tue, 07 Feb 2017 09:47:41 GMT
Robin B created AIRFLOW-845:

             Summary: Sensor execute method does not return 
                 Key: AIRFLOW-845
             Project: Apache Airflow
          Issue Type: Improvement
          Components: operators, xcom
            Reporter: Robin B

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

View raw message