From 43f1d0c0e7cb9907b519165053c91f7bbcf9fb65 Mon Sep 17 00:00:00 2001 From: Tudor Plugaru Date: Thu, 14 Nov 2024 21:05:56 +0200 Subject: [PATCH] small fix Signed-off-by: Tudor Plugaru --- src/cloudevents/core/v1/exceptions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cloudevents/core/v1/exceptions.py b/src/cloudevents/core/v1/exceptions.py index 8f11517..ba6b63a 100644 --- a/src/cloudevents/core/v1/exceptions.py +++ b/src/cloudevents/core/v1/exceptions.py @@ -42,6 +42,7 @@ class MissingRequiredAttributeError(BaseCloudEventException, ValueError): """ def __init__(self, attribute_name: str) -> None: + self.attribute_name: str = attribute_name super().__init__(f"Missing required attribute: '{attribute_name}'")