
June 24, 2022
10:44 p.m.
I don't mind that solution although my concern is whether it would be confusing to have `init` have two different purposes depending on the argument. And, if `__post_init__` was overrided, which I would say it commonly is, that would mean the user would have to manually do the conversion, as well as remembering to add an extra argument for the conversion function (assuming I'm understanding what you're saying). If no type was provided to `init` but a conversion function was, it would be a case of getting the type from the function signature, right?