You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a frequent user of your library, but I also like to enforce good type hints, using type checkers like beartype.
However, when using types from your library, it appears that some of them use deprecated type hints from the built-in typing module, like typing.Iterator that has been moved to collections.abc.Iterator.
Could you consider updating the type hint to make your library future-compatible (at least to some extents)? Of course, I can help with this and make a PR.
Thanks for your work!
The text was updated successfully, but these errors were encountered:
Hello,
I am a frequent user of your library, but I also like to enforce good type hints, using type checkers like
beartype
.However, when using types from your library, it appears that some of them use deprecated type hints from the built-in
typing
module, liketyping.Iterator
that has been moved tocollections.abc.Iterator
.While this is not an issue at the moment (except that
beartype
complains about it, see https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations), this will eventually become one when Python 3.14 will come out (in ~ 1 year I guess).Could you consider updating the type hint to make your library future-compatible (at least to some extents)? Of course, I can help with this and make a PR.
Thanks for your work!
The text was updated successfully, but these errors were encountered: