re: You should use Python @dataclass VIEW POST

FULL DISCUSSION
 

This is the same as case classes in Scala or data classes in Kotlin. They reduce boilerplate code and provide some nice features for comparing or serialising objects.

code of conduct - report abuse