Thomas-McKanna opened a new pull request, #29146:
URL: https://github.com/apache/airflow/pull/29146

   Previous implementation did not properly expose Airflow context in functions 
decorated by `airflow.decorators.task.sensor`:
   
   
https://github.com/apache/airflow/blob/1fbfd312d9d7e28e66f6ba5274421a96560fb7ba/airflow/decorators/sensor.py#L60-L61
   
   Since `DecoratedSensorOperator` is a subclass of `PythonSensor`, I've 
removed the definition of `poke` so that the definition in `PythonSensor` is 
used:
   
   
https://github.com/apache/airflow/blob/1fbfd312d9d7e28e66f6ba5274421a96560fb7ba/airflow/sensors/python.py#L68-L77
   
   closes: #29137
   


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to