[Python] Support replace during create_index (#233)

Closes #214
This commit is contained in:
Lei Xu
2023-06-27 16:02:07 -07:00
committed by GitHub
parent c68c236f17
commit 4bc676e26a
3 changed files with 40 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ def test_create_index_method():
num_partitions=256,
num_sub_vectors=96,
vector_column_name="vector",
replace=True,
)
# Check that the _dataset.create_index method was called with the right parameters
@@ -173,4 +174,5 @@ def test_create_index_method():
metric="L2",
num_partitions=256,
num_sub_vectors=96,
replace=True,
)