spotify / voyager

🛰️ An approximate nearest-neighbor search library for Python and Java with a focus on ease of use, simplicity, and deployability.

Home Page:https://spotify.github.io/voyager/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose python type hints to IDEs via .pyi files

daturkel opened this issue · comments

Hello, I've recently started using voyager in a project, but I've noticed that VSCode has no code completion abilities for the library. II believe this is because python libraries that are actually wrappers around C code require their type information to be exposed via .pyi files (see a similar issue for a different library here). I notice you've already got a script for generating type hints that seems to be used for building the sphinx documentation. Can that script also be leveraged to generate hints that can be exposed to IDEs?

Thanks!
Dan