Skip to content

Commit 2e3f9d2

Browse files
Hotfix collections (#104)
* chore: update submodules * fix: get_collections return
1 parent 236e3ef commit 2e3f9d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

neural_search/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def get_collections():
270270

271271
try:
272272
response = qdrant_client.get_collections()
273-
collections = [collection.name for collection in response.collections]
273+
return [collection.name for collection in response.collections]
274274
except Exception:
275275
return collections
276276

submodules/model

Submodule model updated 1 file

0 commit comments

Comments
 (0)