Skip to content

Commit 5c3b18d

Browse files
authored
Maaybe missing @DataClass decorator here?
Randomly stumbled upon this when browsing the code.
1 parent 9247f47 commit 5c3b18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: openapi_core/unmarshalling/schemas/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class FormatterNotFoundError(UnmarshallerError):
2020
def __str__(self) -> str:
2121
return f"Formatter not found for {self.type_format} format"
2222

23-
23+
@dataclass
2424
class FormatUnmarshalError(UnmarshallerError):
2525
"""Unable to unmarshal value for format"""
2626

0 commit comments

Comments
 (0)