from dataclasses import dataclass @dataclass class Event(): event_type:str='' data:object=None raw_data:dict=None outbound:bool=False # This should be remapped as a data piece so it could instead be a direction/destination