mingshi-wang commented on pull request #20530:
URL: https://github.com/apache/airflow/pull/20530#issuecomment-1001910956


   > > 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
   
   Yes.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to