Open iLLiCiTiT opened 1 year ago
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! :)
Description
This was a suggestion, that we should replace
attrs
in distribution logic withdataclasses
. I've personally never used them yet so I'm not sure how much work it is, but it looks similar with datatype checks.