Skip to content

cayu.tasks.InterruptedTaskContinuationClaimPage

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

from cayu.tasks import InterruptedTaskContinuationClaimPage

One bounded continuation scan and its optional atomic task claim.

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
task Task | None None
next_after tuple[datetime, str] | None None
scanned_candidates StrictInt Field(ge=0, le=_TASK_INTERRUPTED_HANDOFF_RECOVERY_MAX_PAGE_SIZE)
rejected_candidates StrictInt Field(ge=0, le=_TASK_INTERRUPTED_HANDOFF_RECOVERY_MAX_PAGE_SIZE)
filtered_candidates StrictInt Field(default=0, ge=0, le=_TASK_INTERRUPTED_HANDOFF_RECOVERY_MAX_PAGE_SIZE)
replayed StrictBool False
exhausted StrictBool required
InterruptedTaskContinuationClaimPage.copy_claimed_task(value: Task | None) -> Task | None
InterruptedTaskContinuationClaimPage.validate_next_after(value: tuple[datetime, str] | None) -> tuple[datetime, str] | None
InterruptedTaskContinuationClaimPage.validate_page() -> InterruptedTaskContinuationClaimPage

Release source · Runtime guarantees · Capability guides