mypy
44a653c8 - [dataclass_transform] support class decorator parameters (#14561)

Commit
3 years ago
[dataclass_transform] support class decorator parameters (#14561) The initial implementation of `typing.dataclass_transform` only supported the no-argument `@decorator` form; this adds support for the `@decorator(...)` form supporting the same arguments we support for `dataclasses.dataclass`. This also matches the list of arguments specified in PEP 681. Co-authored-by: Wesley Collin Wright <wesleyw@dropbox.com>
Author
Parents
Loading