We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4edc28 commit e128b3fCopy full SHA for e128b3f
python_bindings/bindings.cpp
@@ -671,6 +671,7 @@ PYBIND11_PLUGIN(hnswlib) {
671
.def("mark_deleted", &Index<float>::markDeleted, py::arg("label"))
672
.def("resize_index", &Index<float>::resizeIndex, py::arg("new_size"))
673
.def("get_max_elements", &Index<float>::getMaxElements)
674
+ .def("get_current_count", &Index<float>::getCurrentCount)
675
.def_readonly("space", &Index<float>::space_name)
676
.def_readonly("dim", &Index<float>::dim)
677
.def_readwrite("num_threads", &Index<float>::num_threads_default)
0 commit comments