cayu.tasks.TaskInterruptedHandoffReceipt
Part of cayu.tasks.base. Read the Python API overview and install the required extra.
from cayu.tasks import TaskInterruptedHandoffReceiptImmutable commit evidence for one exact interrupted-task handoff.
Bases: BaseModel.
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 |
|---|---|---|
request |
TaskInterruptedHandoffRequest |
required |
request_sha256 |
str |
required |
task |
Task |
required |
committed_at |
datetime |
required |
copy_request (method)
Section titled “copy_request (method)”TaskInterruptedHandoffReceipt.copy_request(value: object) -> objectvalidate_request_sha256 (method)
Section titled “validate_request_sha256 (method)”TaskInterruptedHandoffReceipt.validate_request_sha256(value: str) -> strcopy_released_task (method)
Section titled “copy_released_task (method)”TaskInterruptedHandoffReceipt.copy_released_task(value: Task) -> Tasknormalize_committed_at (method)
Section titled “normalize_committed_at (method)”TaskInterruptedHandoffReceipt.normalize_committed_at(value: datetime) -> datetimevalidate_receipt_task (method)
Section titled “validate_receipt_task (method)”TaskInterruptedHandoffReceipt.validate_receipt_task() -> TaskInterruptedHandoffReceipt