Add type annotations for hnswlib (#13529)

This commit is contained in:
Lennart Behme
2025-02-23 19:51:47 +01:00
committed by GitHub
parent c230773d2c
commit 9135645c30
4 changed files with 70 additions and 0 deletions
@@ -0,0 +1,3 @@
# The metaclass of Index is pybind11_builtins.pybind11_type. Since pybind11 is not a
# runtime dependency of hnswlib, we exclude Index from stubtest checks.
hnswlib.Index