Traceback (most recent call last):
File "C:/Users/~/Desktop/test_autoclass.py", line 1, in <module>
from autoclass import autoargs, autoprops, setter_override
File "C:\Program Files\Anaconda3\lib\site-packages\autoclass\__init__.py", line 2, in <module>
from autoclass.autoprops import *
File "C:\Program Files\Anaconda3\lib\site-packages\autoclass\autoprops.py", line 169, in <module>
def _get_getter_fun(object_type: Type, property_name: str, property_type: Optional[Type], private_property_name: str):
File "C:\Program Files\Anaconda3\lib\typing.py", line 649, in __getitem__
return Union[arg, type(None)]
File "C:\Program Files\Anaconda3\lib\typing.py", line 552, in __getitem__
dict(self.__dict__), parameters, _root=True)
File "C:\Program Files\Anaconda3\lib\typing.py", line 512, in __new__
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "C:\Program Files\Anaconda3\lib\typing.py", line 512, in <genexpr>
for t2 in all_params - {t1} if not isinstance(t2, TypeVar)):
File "C:\Program Files\Anaconda3\lib\typing.py", line 1077, in __subclasscheck__
if super().__subclasscheck__(cls):
File "C:\Program Files\Anaconda3\lib\abc.py", line 225, in __subclasscheck__
for scls in cls.__subclasses__():
TypeError: descriptor '__subclasses__' of 'type' object needs an argument