-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Feature Request] Python type annotation #155
Comments
Currently our library is not set up to accept PR from github but we appreciate your feedback. I will create an internal ticket to keep track of this feature request. |
Hi @EarlMilktea, could you be more explicitly on which APIs you need for type hints? Note that the low-level bindings are auto-generated Cython code (we do not modify them manually) and already use Cython static typing (instead of the Pure Python Mode). Cython's .pxd/.pyx files aren't really fully compatible with PEP-484 type hints. For example, cython/cython#4756 is one relevant issue. For high-level pythonic APIs I agree type hints can be valuable, though some of the functions are hard to annotate (ex: |
I don't have specific requests for details. |
Are there any plans for adding type hints to the Python bindings?
(If not, I'm willing to submit a PR 😄 )
The text was updated successfully, but these errors were encountered: