cayu.sessions.InteractionTransitionResult
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import InteractionTransitionResultExact result of an atomic interaction-lifecycle/session transition.
Bases: 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 |
Session |
required |
event |
Event |
required |
terminal_event |
Event | None |
None |
status_changed |
StrictBool |
required |
replayed |
StrictBool |
False |
copy_session (method)
Section titled “copy_session (method)”InteractionTransitionResult.copy_session(value: Session) -> Sessioncopy_event (method)
Section titled “copy_event (method)”InteractionTransitionResult.copy_event(value: Event) -> Eventcopy_terminal_event (method)
Section titled “copy_terminal_event (method)”InteractionTransitionResult.copy_terminal_event(value: Event | None) -> Event | None