voyager icon indicating copy to clipboard operation
voyager copied to clipboard

Expose python type hints to IDEs via .pyi files

Open daturkel opened this issue 1 year ago • 0 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

daturkel avatar Feb 26 '24 03:02 daturkel