forked from p34709852/monkey
Common: Use `simplify=True` in PydanticEventSerializer
This commit is contained in:
parent
34e843f7f3
commit
780595cf19
|
@ -19,7 +19,7 @@ class PydanticEventSerializer(IEventSerializer, Generic[T]):
|
|||
raise TypeError(f"Event object must be of type: {self._event_class.__name__}")
|
||||
|
||||
try:
|
||||
return event.dict()
|
||||
return event.dict(simplify=True)
|
||||
except AttributeError as err:
|
||||
logger.error(f"Error occured while serializing an event {event}: {err}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue