Fix mutable-default bug in codegen.config with Python 3.11 and newer
Files
1- Frederik Hennig authored
Since Python 3.11, dataclass
es check if default field values are hashable, and if they are not, reject them as mutable. For this reason, the config API using the Category
descriptor was broken with Python 3.11, which we didn't see since the CI did not test against 3.11.
This MR