utkarsharma2 commented on code in PR #39688:
URL: https://github.com/apache/airflow/pull/39688#discussion_r1605261158


##########
airflow/providers/pinecone/hooks/pinecone.py:
##########
@@ -24,7 +24,7 @@
 from functools import cached_property
 from typing import TYPE_CHECKING, Any
 
-from pinecone import Pinecone, PodSpec, ServerlessSpec
+from pinecone import Pinecone, PodSpec, ServerlessSpec, Vector

Review Comment:
   If we are just using Vector for typing. We should move it under:
   ```
   if TYPE_CHECKING:
       from pinecone import Vector
   ```



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