Skip to main content
All Python modules · Import and compatibility guidance

Exports

ContinuationConflictError

Raised when a continuation compare-and-swap condition changed.

ContinuationError

Base error for external continuation ownership and persistence.

ContinuationFailure

A provider-defined failure category without exception or payload text.
Fields (— means no declared default):

ContinuationProvider

Application/provider-bound facade supplied to trusted plugin code.

ContinuationProvider.name

Return the low-cardinality provider identity bound by the host.

ContinuationProvider.suspend

Atomically persist a wait and transition its owned run to waiting.

ContinuationProvider.lookup

Resolve one provider-owned external identity with an indexed lookup.

ContinuationProvider.get

Read one continuation only through its complete ownership scope.

ContinuationProvider.get_pending

Read provider-private identity through complete run ownership.

ContinuationProvider.list_pending

Read one bounded indexed page for provider startup reconciliation.

ContinuationProvider.complete

Validate provider output before committing its private result.

ContinuationProvider.fail

Commit a validated payload-free provider failure category.

ContinuationProvider.claim

Claim a completed outcome once and return its private value.

ContinuationProvider.arm

Mark a wait resumable only after its framework checkpoint is durable.

ContinuationProvider.cancel

Cancel one exact provider wait without dispatching a framework resume.

ContinuationRecord

Private durable state for one externally completed agent wait.
Fields (— means no declared default):

ContinuationRecord.scope

Return the complete run ownership boundary for this wait.

ContinuationRecord.pending_action

Expose only the opaque action needed by the portable run state.

ContinuationStatus

ContinuationStore

Atomic persistence required by the host-bound provider facade.

ContinuationStore.suspend_continuation

Persist a new provider wait and atomically suspend its run.

ContinuationStore.get_continuation

Read a continuation through its complete run ownership scope.

ContinuationStore.get_continuation_by_external_id

Resolve one provider-owned external identifier.

ContinuationStore.get_provider_continuation

Read one continuation together with its provider-private identity.

ContinuationStore.list_pending_continuations

Return a bounded page of waits awaiting provider reconciliation.

ContinuationStore.resolve_continuation

Commit a validated provider result or failure for a pending wait.

ContinuationStore.claim_continuation

Claim a pending wait using its expected revision.

ContinuationStore.arm_continuation

Mark a resolved wait ready to resume using revision-based CAS.

ContinuationStore.cancel_continuation

Cancel a wait with a durable failure using revision-based CAS.

ContinuationValidationError

Raised before untrusted external output crosses the durable boundary.

ProviderPendingContinuation

A provider-private reconciliation item including its external identity.
Fields (— means no declared default):

audit_continuation

Emit mutation outcome without continuation, tenant, or provider payloads.

continuation_schema_id

Fingerprint a JSON schema without persisting its Python source type.

external_id_key

Build an indexed opaque key while keeping external ids out of indexes.