-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dataclass_transform] Support default parameters (#14580)
PEP 681 defines several parameters for `typing.dataclass_transform`. This commit adds support for collecting these arguments and forwarding them to the dataclasses plugin. For this first iteration, only the `*_default` parameters are supported; `field_specifiers` will be implemented in a separate commit, since it is more complicated.
- Loading branch information
1 parent
f505614
commit 9e85f9b
Showing
10 changed files
with
352 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.