small fix

Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
This commit is contained in:
Tudor Plugaru 2024-11-14 21:05:56 +02:00
parent 599d05c377
commit 43f1d0c0e7
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class MissingRequiredAttributeError(BaseCloudEventException, ValueError):
""" """
def __init__(self, attribute_name: str) -> None: def __init__(self, attribute_name: str) -> None:
self.attribute_name: str = attribute_name
super().__init__(f"Missing required attribute: '{attribute_name}'") super().__init__(f"Missing required attribute: '{attribute_name}'")