Understanding Python Dataclasses
Python dataclasses Tutorial
Python dataclasses module can be used to define classes that are primarily used to hold data. Python dataclasses module provides a decorator @dataclass and functions for creating user-defined data classes.