|
|
|
|
|
by nurettin
1640 days ago
|
|
dataclasses have methods for iterating fields and inspecting types, so any feature can be added. There is also the benefit of type checking. My grief with dataclasses is how I can't inherit from dataclasses with default fields without making all child class fields also have defaults. |
|
Does the keyword-only feature in 3.10 help you at all?