Skip to content

cayu.tasks.TaskSessionClosureClaim

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

from cayu.tasks import TaskSessionClosureClaim

Exact non-expiring authority for retiring one session’s task set.

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
session_id str Field(strict=True, min_length=1, max_length=256)
plan_id str Field(strict=True, pattern='^[0-9a-f]{64}$')
task_ids tuple[str, ...] required
TaskSessionClosureClaim.validate_session(value)
TaskSessionClosureClaim.validate_task_ids(value)
TaskSessionClosureClaim.validate_claim_bound()

Release source · Runtime guarantees · Capability guides