cayu.sessions.EventSummary
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import EventSummaryBases: BaseModel.
Fields and attributes
Section titled “Fields and attributes”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 |
|---|---|---|
session_id |
str |
required |
total_events |
StrictInt |
Field(ge=0, le=MAX_DURABLE_JSON_INTEGER) |
counts_by_type |
dict[str, StrictInt] |
Field(default_factory=dict) |
latest_event |
EventRecord | None |
None |
validate_session_id (method)
Section titled “validate_session_id (method)”EventSummary.validate_session_id(value: str) -> str