Skip to content

Commit 4a16d19

Browse files
committed
fix: revert class attributes removal
Signed-off-by: Yves Bastide <yves@botify.com>
1 parent e5079ee commit 4a16d19

File tree

1 file changed

+5
-4
lines changed
  • simpleflow/swf/mapper/models/event

1 file changed

+5
-4
lines changed

simpleflow/swf/mapper/models/event/base.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ class Event:
4242
:param raw_data: raw_event representation provided by amazon service
4343
"""
4444

45-
_type: str | None
46-
_name: str | None
47-
_attributes_key: str | None
48-
_attributes = Any
45+
# These class attributes manipulate instance ones
46+
_type: str | None = None
47+
_name: str | None = None
48+
_attributes_key: str | None = None
49+
_attributes = None
4950

5051
excluded_attributes = ("eventId", "eventType", "eventTimestamp")
5152

0 commit comments

Comments
 (0)