Skip to content

Revise

Class: warmhub.Revise

Revise(name: str, *, shapes: Sequence[str] | Unset = UNSET, shapeless: bool | Unset = UNSET, keep_shapes: bool | Unset = UNSET, data: JsonValue | Unset = UNSET, affirmed_targets: Sequence[str] | Unset = UNSET, expected_version: int | Unset = UNSET, lease_id: str | Unset = UNSET, **unknown: Never)

Replace the data of the Thing name, stating its Shapes (shapes, shapeless or keep_shapes).

data is a full replacement, not a patch. Revise cannot deactivate a target: passing active raises a TypeError naming Retract.

keep_shapes pins the version it read; a cross-process resubmit of the same submission_id can conflict; explicit shapes is the retry-safe form.

operation = 'revise'

Documentation is not yet available.

name

Documentation is not yet available.

shapes

Documentation is not yet available.

shapeless

Documentation is not yet available.

keep_shapes

Documentation is not yet available.

data

Documentation is not yet available.

affirmed_targets

Documentation is not yet available.

expected_version

Documentation is not yet available.

lease_id

Documentation is not yet available.