Dataclasses in Python
The dataclass() decorator will add various “dunder” methods to the class https://docs.python.org/3/library/dataclasses.html The parameters to dataclass() are: init: If true (the default), a __init__() method will be generated. If the class already defines __init__(), this parameter is ignored. repr the repr() function is used to get a printable string representation of an object repr: If […]