We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ForbiddenExtraKeysError.__str__
1 parent f5d0594 commit 591b4f7Copy full SHA for 591b4f7
1 file changed
src/cattrs/errors.py
@@ -134,5 +134,5 @@ def __str__(self) -> str:
134
return (
135
self.message
136
or f"Extra fields in constructor for {self.cl.__name__}: "
137
- f"{', '.join(self.extra_fields)}"
+ f"{', '.join(sorted(self.extra_fields))}"
138
)
0 commit comments