Message383755
You'd need to return a different class in order to add the collections.abc.Mapping base class. Currently, dataclasses by design always return the same class that's passed in.
I'd suggest adding this as a stand-alone decorator. |
|
Date |
User |
Action |
Args |
2020-12-25 17:23:40 | eric.smith | set | recipients:
+ eric.smith, abrosimov.a.a |
2020-12-25 17:23:40 | eric.smith | set | messageid: <1608917020.24.0.703655344599.issue42742@roundup.psfhosted.org> |
2020-12-25 17:23:40 | eric.smith | link | issue42742 messages |
2020-12-25 17:23:40 | eric.smith | create | |
|