Skip to content

Commit 521bf55

Browse files
committed
[CHORE] Fix typing on empty configuration json returned
1 parent fd80702 commit 521bf55

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: chromadb/types.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
from chromadb.serde import BaseModelJSONSerializable
1717
from chromadb.api.collection_configuration import (
1818
CollectionConfiguration,
19+
HNSWConfiguration,
20+
SpannConfiguration,
1921
collection_configuration_to_json,
2022
load_collection_configuration_from_json,
2123
)
@@ -153,7 +155,8 @@ def get_configuration(self) -> CollectionConfiguration:
153155
stacklevel=2,
154156
)
155157
return CollectionConfiguration(
156-
hnsw={},
158+
hnsw=HNSWConfiguration(),
159+
spann=SpannConfiguration(),
157160
embedding_function=None,
158161
)
159162

0 commit comments

Comments
 (0)