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/09 20:11:08 UTC

[GitHub] [airflow] jedcunningham commented on pull request #20151: Deprecate smart sensors

jedcunningham commented on pull request #20151:
URL: https://github.com/apache/airflow/pull/20151#issuecomment-990208083


   Ready for another look. I've:
   
   - Added a section on migrating from "smart" -> deferrable 
   - Added a link to that section in the deprecation warnings and UPDATING
   - Added a deprecation warning when a sensor task becomes "smart" - this lands in the task log
   - Added the list of sensors that are allowed to be "smart" in the SchedulerJob deprecation warning:
      ```
      Smart sensors are deprecated, yet can be used for {'NamedHivePartitionSensor'} sensors. Please use Deferrable Operators instead. See http://apache-airflow-docs.s3-website.eu-central-1.amazonaws.com/docs/apache-airflow/latest/concepts/smart-sensors.html#migrating-to-deferrable-operators for more info.
      ```
   
   The SchedulerJob message is intended for the folks operating Airflow, and the message in the task log for end users.


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