From 5c3b18d7a19c3ae9411728d5801b98d51a7c8cb2 Mon Sep 17 00:00:00 2001 From: Neyts Zupan Date: Fri, 24 Mar 2023 09:46:52 +0000 Subject: [PATCH] Maaybe missing @dataclass decorator here? Randomly stumbled upon this when browsing the code. --- openapi_core/unmarshalling/schemas/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi_core/unmarshalling/schemas/exceptions.py b/openapi_core/unmarshalling/schemas/exceptions.py index 43aaa2e2..8096fb64 100644 --- a/openapi_core/unmarshalling/schemas/exceptions.py +++ b/openapi_core/unmarshalling/schemas/exceptions.py @@ -20,7 +20,7 @@ class FormatterNotFoundError(UnmarshallerError): def __str__(self) -> str: return f"Formatter not found for {self.type_format} format" - +@dataclass class FormatUnmarshalError(UnmarshallerError): """Unable to unmarshal value for format"""