Skip to content

cayu.sessions.SessionInvocationSnapshot

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

from cayu.sessions import SessionInvocationSnapshot

Bounded immutable invocation state for trusted task/dispatch boundaries.

Bases: SessionInvocationBinding.

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
id str required
session_instance_id str Field(min_length=36, max_length=36, pattern=_CANONICAL_UUID4_PATTERN, json_schema_extra={'format': 'uuid4'})
invocation SessionInvocation required
status SessionStatus required
SessionInvocationSnapshot.validate_id(value: str) -> str
SessionInvocationSnapshot.validate_session_instance_id(value: str) -> str
SessionInvocationSnapshot.copy_invocation(value: SessionInvocation) -> SessionInvocation

Release source · Runtime guarantees · Capability guides