Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-144162: Allow for subclasses of a dataclass to define required fields when a parent has defined optional fields#133168
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
python-cla-botbot commentedApr 29, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
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.
Hi, I'd suggest looking at thedevguide for the pull request tutorial.
A number of things I'd like you to change here:
- Please move the test to somewhere in the existingdataclass tests.
- This needs a blurb entry per the bot, but also needs awhatsnew entry for 3.14.
- The title should be in a
gh-NNNN: quick summary
format.
The test is failing, FYI!
This comment was marked as duplicate.
This comment was marked as duplicate.
Sorry, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Also, please give this a better title. I didn’t notice it in my inbox. Thanks! |
Still needs a better title, I just copied the one from the issue. A |
Fix for gh-144162
gh-133162: Allow for subclasses of a dataclass to define required fields when a parent has defined optional fields