-
Notifications
You must be signed in to change notification settings - Fork 16.6k
Closed
Labels
Milestone
Description
In Airflow 2.0 we should remove the ability to add operators and hooks via plugins.
I think we should deprecate adding Operators and Hooks via the Airflow plugin mechanism.
I think plugins should be reserved for any mechanism that a plain-ol python module import won't work for (which is basically anything that needs to tie deeply in to the Webserver or Scheduler process).
To that end I think we should deprecate adding operators via plugins:
from airflow.operators.my_plugin import MyOperatorcan become
from my_plugin import MyOperatorwith no impact on functionality.
For this not to be a hard/sudden breaking change we should issue a deprecation warning for this in 1.10.12 - #9500
Discussed here:
Reactions are currently unavailable