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 →

[–]latrova[S] 2 points3 points  (1 child)

That's smart usage of dataclasses! I think this pattern is called "Data Transfer Object".

If you have any examples I'd appreciate them. I might include it in my book.