Following the discussion in #10, rather than doing a general purpose layer for returned types, this implements an either/or approach, where either dataclasses or attrs may be used to specify a multi-part result. It does not touch attrs in the dewret internals, and so (for now) it remains a dependency.
Can we swap attrs for something else, if desired?
Following the discussion in #10, rather than doing a general purpose layer for returned types, this implements an either/or approach, where either
dataclasses
orattrs
may be used to specify a multi-part result. It does not touchattrs
in the dewret internals, and so (for now) it remains a dependency.