By ubaumann, Thu 12 August 2021, modified Thu 12 August 2021, in category Brief Byte
Python
Python dataclass decorator adds automatically __init__, __repr__ and __eq__ to the class.
__init__
__repr__
__eq__
https://docs.python.org/3/library/dataclasses.html