amoghrajesh commented on code in PR #51873: URL: https://github.com/apache/airflow/pull/51873#discussion_r2176865414
########## providers/amazon/src/airflow/providers/amazon/aws/hooks/sagemaker_unified_studio.py: ########## @@ -25,9 +25,13 @@ from sagemaker_studio.sagemaker_studio_api import SageMakerStudioAPI from airflow.exceptions import AirflowException -from airflow.hooks.base import BaseHook from airflow.providers.amazon.aws.utils.sagemaker_unified_studio import is_local_runner +try: + from airflow.sdk import BaseHook +except ImportError: + from airflow.hooks.base import BaseHook # type: ignore Review Comment: Yeah pushing a change for it -- 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]
