ephraimbuddy commented on pull request #20151: URL: https://github.com/apache/airflow/pull/20151#issuecomment-989533980
What do you think about using [deprecated](https://github.com/tantale/deprecated) on the Sensor Class? It gives a very nice message when a deprecated function/class is used. e.g: ``` DeprecationWarning: Call to deprecated function (or staticmethod) get_pools. (Use Pool.get_pools() instead) -- Deprecated since version 2.2.3. pools = sorted(pool_api.get_pools(), key=lambda p: p.pool) ``` -- 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]
