I mean it would work with attrs and dataclasses as well and you'd also get static type checking and they are faster.