Skip to content

SubmittedOperation

Class: warmhub.SubmittedOperation

SubmittedOperation(name: str, operation: str, data_hash: str, version: int, status: str, op_index: int | None = None, errors: tuple[OperationError, ...] = (), error: OperationError | None = None, submitted_name: str | None = None, resolved_name: str | None = None, retryable: bool | None = None, warnings: OperationWarnings | None = None, affirmations: AffirmationDelta | None = None, extra: Mapping[str, Any] = empty_mapping(), raw: Mapping[str, Any] = empty_mapping())

One row of a stream-append result.

name is the server’s answer. submitted_name is what the client sent, and is present only on failures — which is exactly when the two can differ and the difference matters.

name

Documentation is not yet available.

operation

add | revise | retract | rename | noop. Open on the wire, so not narrowed to a Literal.

data_hash

Documentation is not yet available.

version

Documentation is not yet available.

status

applied | noop | error.

op_index = None

Documentation is not yet available.

errors = ()

Every diagnostic for this row, across both receipt versions. See ReceiptOperation.

error = None

The first entry of errors, retained as the original singular surface.

submitted_name = None

Documentation is not yet available.

resolved_name = None

Documentation is not yet available.

retryable = None

Documentation is not yet available.

warnings = None

Documentation is not yet available.

affirmations = None

Present on reaffirm and affirmed-targets writes only.

extra = field(default_factory=empty_mapping)

Documentation is not yet available.

raw = field(default_factory=empty_mapping)

Documentation is not yet available.