You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/28 07:15:33 UTC

[GitHub] [airflow] eladkal commented on pull request #20530: Add sensor decorator

eladkal commented on pull request #20530:
URL: https://github.com/apache/airflow/pull/20530#issuecomment-1001906158


   > Added the @task.sensor decorator to convert a Python function to an instance of the BaseSensorOperator
   
   So this is really a decorator for `PythonSensor` isn't it?
   https://github.com/apache/airflow/blob/b7086f9815d3856cb4f3ee5bbc78657f19df9d2d/airflow/sensors/python.py#L25


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org