I have just upgraded my Airflow to 2.2.5 and I can't use the EmptyOperator. It should be simple from airflow.operators.empty import EmptyOperator
but I get the error ModuleNotFoundError: No module named 'airflow.operators.empty'
. I also tried:
from airflow.operators import empty
from empty.operators import EmptyOperator
The Airflow repo itself shows the structure that would mean
from airflow.operators.empty import EmptyOperator
should work but it doesn't so I am really puzzled as to what is going on.