Skip to content

cayu.tasks.TaskCancellationReconciliationEvent

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

from cayu.tasks import TaskCancellationReconciliationEvent

Secret-free event projection for one owner-lost ordinary cancellation.

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
id str required
type TaskCancellationReconciliationEventType required
task_id str required
original_worker_id_sha256 str required
cancellation_idempotency_key_sha256 str required
request_sha256 str | None None
reconciliation_idempotency_key_sha256 str | None None
evidence_sha256 str | None None
actor_sha256 str | None None
outcome TaskCancellationReconciliationOutcome | None None
occurred_at datetime required
TaskCancellationReconciliationEvent.validate_identity(value: str, info) -> str
TaskCancellationReconciliationEvent.validate_sha256(value: str | None, info) -> str | None
TaskCancellationReconciliationEvent.normalize_occurred_at(value: datetime) -> datetime
TaskCancellationReconciliationEvent.validate_event_shape() -> TaskCancellationReconciliationEvent

Release source · Runtime guarantees · Capability guides