Skip to content

cayu.sessions.SessionLineageOrigin

Part of cayu.sessions.base. Read the Python API overview and install the required extra.

from cayu.sessions import SessionLineageOrigin

Payload-free durable identity for one session start or fork event.

Bases: BaseModel.

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
sequence StrictInt Field(ge=1, le=MAX_DURABLE_JSON_INTEGER)
event_id str Field(max_length=EVENT_ID_MAX_CHARS)
event_type EventType required
SessionLineageOrigin.validate_event_id(value: str) -> str
SessionLineageOrigin.validate_event_type(value: EventType) -> EventType

Release source · Runtime guarantees · Capability guides