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.
Make SupabaseVectorStore a subclass of BasePydanticVectorStore (run-l…
- Loading branch information
1 parent
f850a67
commit 6c84d69
Showing
2 changed files
with
13 additions
and
9 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
...ons/vector_stores/llama-index-vector-stores-supabase/tests/test_vector_stores_supabase.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.supabase import SupabaseVectorStore | ||
|
||
|
||
def test_class(): | ||
names_of_base_classes = [b.__name__ for b in SupabaseVectorStore.__mro__] | ||
assert VectorStore.__name__ in names_of_base_classes | ||
assert BasePydanticVectorStore.__name__ in names_of_base_classes |