cayu.sessions.SessionInvocationSnapshot
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import SessionInvocationSnapshotBounded immutable invocation state for trusted task/dispatch boundaries.
Bases: SessionInvocationBinding.
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 |
|---|---|---|
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 |
validate_id (method)
Section titled “validate_id (method)”SessionInvocationSnapshot.validate_id(value: str) -> strvalidate_session_instance_id (method)
Section titled “validate_session_instance_id (method)”SessionInvocationSnapshot.validate_session_instance_id(value: str) -> strcopy_invocation (method)
Section titled “copy_invocation (method)”SessionInvocationSnapshot.copy_invocation(value: SessionInvocation) -> SessionInvocation