ashb commented on code in PR #22974:
URL: https://github.com/apache/airflow/pull/22974#discussion_r849451006
##########
airflow/providers/dbt/cloud/example_dags/example_dbt_cloud.py:
##########
@@ -22,7 +22,7 @@
try:
from airflow.operators.empty import EmptyOperator as DummyOperator
except ModuleNotFoundError:
- from airflow.operators.dummy import DummyOperator
+ from airflow.operators.dummy import DummyOperator # type: ignore
Review Comment:
I know its a slightly bigger change, but shouldn't we do this as
```suggestion
from airflow.operators.dummy import DummyOperator as EmptyOperator #
type: ignore
```
and then change all the uses to `EmptyOperator()`?
--
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]