Skip to content

Commit dc5bcba

Browse files
author
Nikos Papailiou
committed
Fix format
1 parent 7812861 commit dc5bcba

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

apis/python/src/tiledb/vector_search/index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
IDS_ARRAY_NAME = "ids.tdb"
99
PARTS_ARRAY_NAME = "parts.tdb"
1010

11+
1112
class Index:
1213
def query(self, targets: np.ndarray, k=10, nqueries=10, nthreads=8, nprobe=1):
1314
raise NotImplementedError

apis/python/src/tiledb/vector_search/ingestion.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ def create_arrays(
272272
)
273273
logger.info(centroids_schema)
274274
tiledb.Array.create(centroids_uri, centroids_schema)
275-
group.add(CENTROIDS_ARRAY_NAME, name=CENTROIDS_ARRAY_NAME, relative=True)
275+
group.add(
276+
CENTROIDS_ARRAY_NAME, name=CENTROIDS_ARRAY_NAME, relative=True
277+
)
276278

277279
if not tiledb.array_exists(index_uri):
278280
logger.info("Creating index array")

0 commit comments

Comments
 (0)