The file https://github.com/rnag/dataclass-wizard/blob/main/dataclass_wizard/utils/object_path.pyi uses the new syntax defined in PEP695 which adds the generic type alias. This new alias was added for python 3.12 and as such causes syntax errors in mypy when checking using python version 3.11 or earlier
Repro:
Python version: 3.11.13
mypy version: 1.17.1
dataclass-wizard version: 0.35.1
The file https://github.com/rnag/dataclass-wizard/blob/main/dataclass_wizard/utils/object_path.pyi uses the new syntax defined in PEP695 which adds the generic type alias. This new alias was added for python 3.12 and as such causes syntax errors in mypy when checking using python version 3.11 or earlier
Repro:
Python version: 3.11.13
mypy version: 1.17.1
dataclass-wizard version: 0.35.1