flaxandteal / dewret

DEclarative Workflow REndering Tool
Apache License 2.0
1 stars 0 forks source link

Can we make dewret not attrs-only? #14

Closed philtweir closed 4 months ago

philtweir commented 4 months ago

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 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.