amoghrajesh commented on code in PR #51873:
URL: https://github.com/apache/airflow/pull/51873#discussion_r2176854264


##########
providers/alibaba/src/airflow/providers/alibaba/cloud/hooks/base_alibaba.py:
##########
@@ -18,7 +18,10 @@
 
 from typing import Any, NamedTuple
 
-from airflow.hooks.base import BaseHook
+try:
+    from airflow.sdk import BaseHook
+except ImportError:
+    from airflow.hooks.base import BaseHook  # type: ignore

Review Comment:
   Handled



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to