Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose python type hints to IDEs via .pyi files #51

Open
daturkel opened this issue Feb 26, 2024 · 0 comments
Open

Expose python type hints to IDEs via .pyi files #51

daturkel opened this issue Feb 26, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@daturkel
Copy link

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

@markkohdev markkohdev added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants