Skip to content

cayu.tasks.TaskRetryCancellationReconciliationEvent

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

from cayu.tasks import TaskRetryCancellationReconciliationEvent

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

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 TaskRetryCancellationReconciliationEventType required
task_id str required
series_id str required
attempt StrictInt Field(ge=1, le=100)
causal_budget_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 TaskRetryCancellationReconciliationOutcome | None None
occurred_at datetime required
TaskRetryCancellationReconciliationEvent.validate_identity(value: str, info) -> str
TaskRetryCancellationReconciliationEvent.validate_sha256(value: str | None, info) -> str | None
TaskRetryCancellationReconciliationEvent.normalize_occurred_at(value: datetime) -> datetime
TaskRetryCancellationReconciliationEvent.validate_event_shape() -> TaskRetryCancellationReconciliationEvent

Release source · Runtime guarantees · Capability guides