Comment on Python classes aren’t always the best solutionparentComments−lyu072821y@dataclass(slots=True) works too
Comments
@dataclass(slots=True) works too