Hacker News new | ask | show | jobs
by anoncake 2586 days ago
Check out dataclasses[1]. It's in the standard library of Python 3.7 and there's a backport for earlier versions.

https://docs.python.org/3/library/dataclasses.html

1 comments

Thanks, will look into it!