6 ms·You can set frozen=True to make a dataclass immutable.by Marcan 5y agoYou can set frozen=True to make a dataclass immutable.