Option to include init=False
globally on a converter, not per class
#482
Labels
documentation
Documentation needed.
init=False
globally on a converter, not per class
#482
Description
On previous cattrs versions, I used to structure and unstructure a lot of attrs classes that had many
init=False
fields.Now, though, with the new versions of cattrs (v23.2.0), this behavior changed, breaking my code.
I'd like to be able to enable the old behavior back globally on a converter, instead of having to enable it for every single class, as I have many classes all over the place that would benefit from re-enabling
init=False
fields in conversion.I thought about something like this:
The text was updated successfully, but these errors were encountered: