ashb opened a new issue #9500:
URL: https://github.com/apache/airflow/issues/9500


   This is the companion issue to 
https://github.com/apache/airflow/issues/9498, but for adding a deprecation 
warning to 1.10.12 so we can remove it in Airflow 2.0
   
   
   ```
       from airflow.operators.my_plugin import MyOperator
   ```
   
   can become
   
   ```
       from my_plugin import MyOperator
   ```
   
   In 1.10.12 we should issue a FutureDeprecationWarning in the plugin if it 
includes anything in `operators = []`, and additionally when anything imports 
from `airflow.operators.my_plugin` (this last part may already by happening. We 
should double check and confirm.)


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

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


Reply via email to