gh-118974: Add decorator argument to make_dataclass#122723
gh-118974: Add decorator argument to make_dataclass#122723ericvsmith merged 6 commits intopython:mainfrom
decorator argument to make_dataclass#122723Conversation
13e940a to
431addd
Compare
Misc/NEWS.d/next/Library/2024-08-06-07-24-00.gh-issue-118974.qamsCQ.rst
Outdated
Show resolved
Hide resolved
|
I'm not crazy about the name |
|
Other suggestions at the core sprint are |
I think But anyway, I'm happy to make the change to use |
|
@larryhastings : Any thoughts on the parameter name? I'm leaning towards just |
|
I think
That strikes me as an excellent fit. Also, I prefer I think I'm the dude who suggested |
Convinced! Just pushed a commit fixing this. |
|
Thanks, @larryhastings for the excellent analysis (I expected nothing less!). I'll review the patch when I have some free time. |
dataclass_factory argument to make_dataclassdecorator argument to make_dataclass
decoratorargument todataclasses.make_dataclassfor custom dataclass transformation support #118974