You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to add type annotations to the library so that hnswlib plays nice with static type checkers.
I already created type annotations for some functions myself (see below) and can offer to draft the other annotations as well. As far as I know, all it takes is a py.typed marker file and a hnswlib.pyi file in python_bindings/.
For anyone interested in using type annotations: I contributed hnswlib annotations to typeshed so you can install them using pip install types-hnswlib.
It would be great to add type annotations to the library so that
hnswlib
plays nice with static type checkers.I already created type annotations for some functions myself (see below) and can offer to draft the other annotations as well. As far as I know, all it takes is a
py.typed
marker file and ahnswlib.pyi
file inpython_bindings/
.Initial type annotations:
The text was updated successfully, but these errors were encountered: