Skip to content

Commit 2b53cd2

Browse files
committed
fix return type EventType
1 parent 842d6d5 commit 2b53cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eventsourcingdb/handlers/read_event_types/event_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class EventType:
1313
schema: dict[str, Any] | None = None
1414

1515
@staticmethod
16-
def parse(unknown_object: dict) -> Self:
16+
def parse(unknown_object: dict) -> "EventType":
1717
event_type = unknown_object.get('eventType')
1818
if not isinstance(event_type, str):
1919
raise ValidationError(

0 commit comments

Comments
 (0)