Message390681
I just realized that in my first two examples, all that's really needed is a "del Child.__match_args__" following each class definition.
The main point still stands though: this may be a more common issue than I previously thought. If it is, then a dedicated kwarg to the dataclass decorator probably makes more sense than requiring users to "del" the generated attribute. |
|
Date |
User |
Action |
Args |
2021-04-10 00:05:48 | brandtbucher | set | recipients:
+ brandtbucher, gvanrossum, eric.smith, freundTech |
2021-04-10 00:05:48 | brandtbucher | set | messageid: <1618013148.73.0.410139072449.issue43764@roundup.psfhosted.org> |
2021-04-10 00:05:48 | brandtbucher | link | issue43764 messages |
2021-04-10 00:05:48 | brandtbucher | create | |
|