Skip to content

Commit 236e3ef

Browse files
authored
Hotfix collections (#103)
1 parent 59ca674 commit 236e3ef

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]
273+
collections = [collection.name for collection in response.collections]
274274
except Exception:
275275
return collections
276276

0 commit comments

Comments
 (0)