Data classes are one of the new features of Python 3.7. With data classes you do not have to write boilerplate code to get proper initialization, representation and comparisons for your objects.

Data Classes in Python 3.7+ (Guide) – Real Python