fix: missing type
Signed-off-by: Tudor Plugaru <plugaru.tudor@protonmail.com>
This commit is contained in:
parent
443aee98e5
commit
1d43d688be
|
@ -64,7 +64,7 @@ class CloudEvent:
|
|||
|
||||
See https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#required-attributes
|
||||
"""
|
||||
errors: dict[str, list] = defaultdict(list)
|
||||
errors: dict[str, list[BaseCloudEventException]] = defaultdict(list)
|
||||
errors.update(CloudEvent._validate_required_attributes(attributes))
|
||||
errors.update(CloudEvent._validate_optional_attributes(attributes))
|
||||
errors.update(CloudEvent._validate_extension_attributes(attributes))
|
||||
|
|
Loading…
Reference in New Issue