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.
Properties and attributes
Section titled “Properties and attributes”operation
Section titled “operation”operation = 'revise'Documentation is not yet available.
nameDocumentation is not yet available.
shapes
Section titled “shapes”shapesDocumentation is not yet available.
shapeless
Section titled “shapeless”shapelessDocumentation is not yet available.
keep_shapes
Section titled “keep_shapes”keep_shapesDocumentation is not yet available.
dataDocumentation is not yet available.
affirmed_targets
Section titled “affirmed_targets”affirmed_targetsDocumentation is not yet available.
expected_version
Section titled “expected_version”expected_versionDocumentation is not yet available.
lease_id
Section titled “lease_id”lease_idDocumentation is not yet available.