Skip to content

Recorded

Bases: Entry

DTO containing events saved in the event store.

It contains position of the event in the event store and tenant id.

Source code in event_sourcery/event_store/event/dto.py
@dataclasses.dataclass(frozen=True)
class Recorded(Entry):
    """DTO containing events saved in the event store.

    It contains position of the event in the event store and tenant id.
    """

    position: Position
    tenant_id: TenantId = DEFAULT_TENANT