ayon-launcher
ayon-launcher copied to clipboard
Enhancement: Use dataclasses instead of attrs
Description
This was a suggestion, that we should replace attrs
in distribution logic with dataclasses
. I've personally never used them yet so I'm not sure how much work it is, but it looks similar with datatype checks.
Any reason why it was recommended one over the other? Would we get certain benefits from doing the change?
Would we get certain benefits from doing the change?
Well, dataclasses
is built-in python module with direct typehint support, whereas attrs
is added dependency without simple typehinting.
Good enough for me! :)