-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Support type hinting #1559
Comments
Yes, that would be nice. Though type hints in folium are not that useful, since we use a lot of duck-typing. I was working on a change a while back: #1297 |
Ah sorry, didn't see the PR only searched the issues. Is it not merged due to a certain reason or just not finished? |
Just not finished. I think we could finish it this time around. |
If you need testing or something I can help with let me know |
After updating folium to 0.15.0 mypy still says:
Not a pro in this, but I think you need to add an (empty) |
Is your feature request related to a problem? Please describe.
Currently type hinting is not supported by folium. Are there any plans to implement this?
Describe the solution you'd like
Typing in folium and type hints for the public interfaces (Maybe autogenerated)
Describe alternatives you've considered
Excluding folium in my personal project from type checking by mypy
Additional context
None
Implementation
folium is maintained by volunteers. Can you help make a PR if we want to implement this feature?
-> Can try to help with this
The text was updated successfully, but these errors were encountered: