4 ms·
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
by anoncake 7y 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 https://docs.python.org/3/library/dataclasses.html
- gcells 7y agoThanks, will look into it!