We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f1d0c commit 7d18098Copy full SHA for 7d18098
src/cloudevents/core/v1/event.py
@@ -70,7 +70,7 @@ def _validate_attribute(attributes: dict[str, Any]) -> None:
70
errors.update(CloudEvent._validate_optional_attributes(attributes=attributes))
71
errors.update(CloudEvent._validate_extension_attributes(attributes=attributes))
72
if errors:
73
- raise CloudEventValidationError(dict(errors))
+ raise CloudEventValidationError(errors=errors)
74
75
@staticmethod
76
def _validate_required_attributes(
0 commit comments