
Thanks David.
we would need buy-in from a maintainer of attrs. Know anyone we could ask?
Yes, I emailed Hynek Schlawack about this yesterday.
I'm a Django contributor myself...What kinds of feedback are you looking for?
I was hoping someone could try decorating the relevant functions/classes in Django with dataclass_transform and determine if the resulting user experience is acceptable. Btw, Carlton Gibson told me that Django's Field.default can be either a value or a callable, whereas the PEP expects it to be a value. Factory callables need to be provided via the default_factory parameter instead. So that's one issue, but I think as with the attrs hash/unsafe_hash issue, this would be best fixed by Django adding a default_factory (or factory) property. -Erik