#TypeError ‘type’

1 messages · Page 1 of 1 (latest)

idle pelican
#

You're using Python 3.8
In 3.8, you couldn't use builtin types to make type alias like this: list[int]
You had to import List from the typing module to do this: List[int]
So you can either upgrade to 3.9+ or use List from typing

#

Ah it's the package's fault

#

My bad
You're going to have to upgrade to 3.9+

worthy spear
#

Python’s bad(oh, nothing

idle pelican
#

?

sour dragon
worthy spear