Put this in Issues, but it may be better off here #1852
Answered
by
hgrecco
JoshKerman
asked this question in
Q&A
-
When importing pint, util.py throws "TypeError: 'ABCMeta' object is not subscriptable" as shown. Are there any changes I can make to the pint code to make it work? |
Beta Was this translation helpful? Give feedback.
Answered by
hgrecco
Sep 21, 2023
Replies: 2 comments 5 replies
-
There is a potential solution here: https://stackoverflow.com/questions/59955751/abcmeta-object-is-not-subscriptable-when-trying-to-annotate-a-hash-variable |
Beta Was this translation helpful? Give feedback.
5 replies
-
What I do not understand is why this is not failing in our tests. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By typing.Iterable according to that post. But I still do not understand why it works with our tests. I guess Spyder is checking types in a way our code is not.