Event
yosoi.surface.Event
class Event(ImmutableModel):
One retained event with optional cursor, watch and reference provenance.
Source: python/yosoi/surface.py:1325
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”sequence: int = Field(description='Monotonic session-local sequence.')
kind: EventKind = Field(description='Transition category.')
cursor: int | None = Field(description='Affected cursor identity, if any.')
watch: int | None = Field(description='Affected subscription identity, if any.')
before: NativeReference | None = Field(description='Previous evidence, if available.')
after: NativeReference | None = Field(description='Replacement evidence, if available.')
note: StrictStr = Field(description='Recorded explanation of this transition.')