uranusjr commented on code in PR #59835:
URL: https://github.com/apache/airflow/pull/59835#discussion_r2652398438


##########
airflow-core/tests/unit/core/test_core.py:
##########
@@ -22,8 +22,8 @@
 import pytest
 
 from airflow._shared.timezones.timezone import datetime
-from airflow.models.baseoperator import BaseOperator
 from airflow.providers.standard.operators.empty import EmptyOperator
+from airflow.sdk import BaseOperator

Review Comment:
   I don't think there's a good way no to avoid `airflow.sdk` in tests at the 
moment since you need to build dags to test against. Maybe someday we'll be 
able to improve this, especially when we allow writing dags in other languages.



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

Reply via email to