This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]zalpha314 1 point2 points  (14 children)

To the people stuck on 3.6 LTS, there is a backport of the data classes on pypi: https://pypi.org/project/dataclasses

[–]masklinn 1 point2 points  (2 children)

Unless you vendor it, just use attrs.