Closed noirbee closed 2 years ago
https://docs.python.org/3.10/library/typing.html#typing.NewType
"Changed in version 3.10: NewType is now a class rather than a function."
Also add Python 3.10 to the list of tested versions in GitHub workflow.
Sorry about the relative mess, I can't get it to work for Python3.6 without downgrading types-dataclasses, and since it's EOL anyways…
Thanks
https://docs.python.org/3.10/library/typing.html#typing.NewType
"Changed in version 3.10: NewType is now a class rather than a function."
Also add Python 3.10 to the list of tested versions in GitHub workflow.