Skip to content

Commit 6e13f72

Browse files
committed
fix missing type info
Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
1 parent c5e6df9 commit 6e13f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cloudevents/core/v1/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CloudEventValidationError(Exception):
1818

1919
def __init__(self, errors: dict[str, list[str]]) -> None:
2020
super().__init__("Validation errors occurred")
21-
self.errors = errors
21+
self.errors: dict[str, list[str]] = errors
2222

2323
def __str__(self) -> str:
2424
error_messages = [

0 commit comments

Comments
 (0)