New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support kw_only
on dataclasses
#3674
Conversation
please review |
573d7a8
to
657d5ea
Compare
how do i make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how do i make
plugin-fail.txt
expect a different output depending on the python version?
One solution (and it would make the overloads much cleaner below), is to always include kw_only
in the type definition, then just raise a clear error for older versions?
Otherwise LGTM.
please update. |
9a3c0e7
to
0c126e8
Compare
Is there any prediction for this feature? |
🔮I predict that it will be... BASED!!! |
Should go into v1.10 which I'll start working on after we get v1.9.1 out. |
77bbc81
to
7b02df4
Compare
dbdaa5f
to
9e9018e
Compare
Thanks so much. |
Change Summary
Related issue number
fix #3670 (it's a discussion tho because the issue template didn't let me raise a feature request)
Checklist
changes/<pull request or issue id>-<github username>.md
file added describing change(see changes/README.md for details)