
Thanks to everyone that has provided feedback on the dataclass_transform PEP so far! There's one open issue<https://github.com/debonte/peps/blob/dataclass_transforms/pep-9999.rst#conve...> right now, and I wondered if anyone had feedback specifically on it: converter field descriptor parameter The attrs library supports a converter field descriptor parameter, which is passed a callable that is called by the generated __init__ method to convert the supplied value to some other desired value. This is tricky to support since the parameter type in the synthesized __init__ method needs to accept uncovered values, but the resulting field is typed according to the output of the converter. There may be no good way to support this because there's not enough information to derive the type of the input parameter. We currently have two ideas: 1. Add support for a converter field descriptor parameter but then use the Any type for the corresponding parameter in the __init__ method. 2. Say that converters are unsupported and recommend that attrs users avoid them. Some aspects of this issue are discussed on the pyright GitHub site. [https://github.com/microsoft/pyright/discussions/1782?sort=old#discussioncom...] Thanks, Erik