Skip to content

Commit 43f1d0c

Browse files
committed
small fix
Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
1 parent 599d05c commit 43f1d0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cloudevents/core/v1/exceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class MissingRequiredAttributeError(BaseCloudEventException, ValueError):
4242
"""
4343

4444
def __init__(self, attribute_name: str) -> None:
45+
self.attribute_name: str = attribute_name
4546
super().__init__(f"Missing required attribute: '{attribute_name}'")
4647

4748

0 commit comments

Comments
 (0)