Skip to content

Commit 34a27ed

Browse files
authored
Remove unused type ignore in model serialization method (#17)
1 parent 2fe868b commit 34a27ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudevents_pydantic/events/_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def base64_json_serializer(self):
146146
:return: Event serialized as a standard CloudEvent dict with binary
147147
data handled.
148148
"""
149-
model_dict = self.model_dump() # type: ignore
149+
model_dict = self.model_dump()
150150
if _binary_field_metadata == self.model_fields["data"].metadata:
151151
model_dict["data_base64"] = model_dict["data"]
152152
del model_dict["data"]

0 commit comments

Comments
 (0)