forked from run-llama/llama_index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update MilvusVectorStore to Pydantic (run-llama#11432)
- Loading branch information
1 parent
2b27e19
commit ebc9095
Showing
2 changed files
with
57 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...rations/vector_stores/llama-index-vector-stores-milvus/tests/test_vector_stores_milvus.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from llama_index.core.vector_stores.types import VectorStore | ||
from llama_index.core.vector_stores.types import BasePydanticVectorStore | ||
from llama_index.vector_stores.milvus import MilvusVectorStore | ||
|
||
|
||
def test_class(): | ||
names_of_base_classes = [b.__name__ for b in MilvusVectorStore.__mro__] | ||
assert VectorStore.__name__ in names_of_base_classes | ||
assert BasePydanticVectorStore.__name__ in names_of_base_classes |