dominikhei commented on code in PR #52819:
URL: https://github.com/apache/airflow/pull/52819#discussion_r2184863487


##########
providers/openai/src/airflow/providers/openai/hooks/openai.py:
##########
@@ -45,10 +45,7 @@
     from openai.types.vector_stores import VectorStoreFile, 
VectorStoreFileBatch, VectorStoreFileDeleted
 from airflow.providers.openai.exceptions import OpenAIBatchJobException, 
OpenAIBatchTimeout
 
-try:
-    from airflow.sdk import BaseHook
-except ImportError:
-    from airflow.hooks.base import BaseHook  # type: 
ignore[attr-defined,no-redef]
+from airflow.providers.facebook.version_compat import BaseHook

Review Comment:
   > @dominikhei Good catch! I'll fix it. I must've been dozing off.
   
   thanks! Sorry for the accidental double comment 😄 



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