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'll produce a MWE when I have more time, but this is error is happening on all my projects that use dataclass_transform with frozen=True. For example, https://github.com/NeilGirdhar/tjax/
Simply clone, and run MyPy twice. Thus, it appears there's something missing from or wrongly added to the MyPy cache.
tjax/_src/fixed_point/simple_scan.py: note: In class "SimpleScan":
tjax/_src/fixed_point/simple_scan.py:15: error: Cannot inherit non-frozen dataclass from a frozen one [misc]
class SimpleScan(IteratedFunctionBase[Parameters, State, Trajectory, State],
...
I'll produce a MWE when I have more time, but this is error is happening on all my projects that use
dataclass_transform
withfrozen=True
. For example, https://github.com/NeilGirdhar/tjax/Simply clone, and run MyPy twice. Thus, it appears there's something missing from or wrongly added to the MyPy cache.
CC @wesleywright
The text was updated successfully, but these errors were encountered: