1 Dec
2022
1 Dec
'22
5:18 a.m.
I think this is a reasonable extension. It can be added in a way that's backward compatible with the Python 3.11 typing module and the typing_extensions library because `dataclass_transform` has a `**kwargs` parameter. This would simply require an update to the documentation and an agreement among the type checker maintainers. I don't think mypy or pytype have implemented support for `dataclass_transform` yet, so it would just be pyre and pyright that would be affected. I'm willing to add it to pyright if there are no objections and the pyre maintainers are open to making the change. -Eric -- Eric Traut Contributor to Pyright & Pylance Microsoft