message_flow/events/common/domain_event.py (
6
lines of code) (
raw
):
from dataclasses import dataclass from typing import TypeVar @dataclass class DomainEvent: pass DE = TypeVar("DE", bound=DomainEvent)