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
{{ message }}
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.
The typing package supports generics, whereas collections.abc does not. Hence, when this tool replaces typing types that are used as generics with their equivalent types in collections.abc, it breaks the build. I found it helpful to run this tool as a one-off and then manually undo these cases though, so thank you!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this @Kurt-von-Laven; I had no idea the collection types weren't supported for generics! 🙂
Would you be interested in trying to raise a PR for this? I've not spent a lot of time in the code lately, but think a fix might just require adding an if statement or two.
Would you also be able to provide a few concrete examples of when the tool behaves incorrectly? 🙂
The
typing
package supports generics, whereascollections.abc
does not. Hence, when this tool replacestyping
types that are used as generics with their equivalent types incollections.abc
, it breaks the build. I found it helpful to run this tool as a one-off and then manually undo these cases though, so thank you!The text was updated successfully, but these errors were encountered: