Draft: [Enhancement] Use Python dataclasses to remove boilerplate
[WIP] Removes boilerplate by using Python @dataclass
decorator. Added in Python 3.7, Python dataclasses automatically provide an __init__()
, __repr__()
and __eq__()
functions.
Question: Would we want to set frozen=True
to make these instances immutable?