3 ms·
Frozen dataclass instances (https://docs.python.org/3/library/dataclasses.html#frozen-instances https://docs.python.org/3/library/dataclasses.html#frozen-in...)
by galoisscobi 5y ago
Frozen dataclass instances (https://docs.python.org/3/library/dataclasses.html#frozen-instances https://docs.python.org/3/library/dataclasses.html#frozen-in...) might be of help.
- rmbyrro 5y agoWasn't aware of this feature in dataclasses, that can be helpful in a few cases, thanks for pointing out