You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Gies (JIRA)" <ji...@apache.org> on 2017/02/07 23:36:41 UTC
[jira] [Created] (AIRFLOW-850) Airflow should support a general
purpose PythonSensor
Daniel Gies created AIRFLOW-850:
-----------------------------------
Summary: 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)