Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
m5l14i11 committed Sep 19, 2024
1 parent 2d8e32e commit 25e7234
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/events/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class EventMeta:

@dataclass(frozen=True)
class Event:
meta: EventMeta

def to_dict(self):
res = asdict(self)
res["meta"]["name"] = self.__class__.__name__
Expand Down

0 comments on commit 25e7234

Please sign in to comment.