mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-18 17:11:25 +00:00
Revert "don't use deprecated class name"
This reverts commit c714fc7769
.
This commit is contained in:
parent
c714fc7769
commit
897fd22915
@ -1,6 +1,6 @@
|
||||
from unittest.mock import Mock
|
||||
|
||||
from langchain_pinecone.vectorstores import PineconeVectorStore
|
||||
from langchain_pinecone.vectorstores import Pinecone, PineconeVectorStore
|
||||
|
||||
|
||||
def test_initialization() -> None:
|
||||
@ -9,7 +9,7 @@ def test_initialization() -> None:
|
||||
index = Mock()
|
||||
embedding = Mock()
|
||||
text_key = "xyz"
|
||||
PineconeVectorStore(index, embedding, text_key)
|
||||
Pinecone(index, embedding, text_key)
|
||||
|
||||
|
||||
def test_id_prefix() -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user