You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to load something from the package in Python 3.9
from redux import create_feature_module
but received the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/redux/__init__.py", line 6, in <module>
from .store import create_store
File "/usr/local/lib/python3.9/site-packages/redux/store.py", line 21, in <module>
from .action import create_action
File "/usr/local/lib/python3.9/site-packages/redux/action.py", line 10, in <module>
from .types import Action, PayloadType
File "/usr/local/lib/python3.9/site-packages/redux/types.py", line 25, in <module>
class Action(NamedTuple, Generic[PayloadType]):
File "/usr/local/Cellar/python@3.9/3.9.0_5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/typing.py", line 1820, in _namedtuple_mro_entries
raise TypeError("Multiple inheritance with NamedTuple is not supported")
TypeError: Multiple inheritance with NamedTuple is not supported
Maybe some limits on multiple inheritance were added in 3.9?
The text was updated successfully, but these errors were encountered:
Supposed to be fixed in the latest version. The combination of named tuple and generic is no longer possible in python 3.9
I have removed the typevar. Is there a better solution?
Cool project!
I tried to load something from the package in Python 3.9
but received the following error:
Maybe some limits on multiple inheritance were added in 3.9?
The text was updated successfully, but these errors were encountered: