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