We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47e0a7c commit bbac194Copy full SHA for bbac194
docarray/array/storage/annlite/backend.py
@@ -98,3 +98,6 @@ def __setstate__(self, state):
98
from annlite import AnnLite
99
100
self._annlite = AnnLite(n_dim, lock=False, **filter_dict(config))
101
+
102
+ def __len__(self):
103
+ return self._annlite.index_size
setup.py
@@ -71,6 +71,9 @@
71
'qdrant': [
72
'qdrant-client~=0.7.0',
73
],
74
+ 'annlite': [
75
+ 'annlite>=0.3.0',
76
+ ],
77
'test': [
78
'pytest',
79
'pytest-timeout',
0 commit comments