Skip to content

Revise

Class: warmhub.Revise

Revise(*, name: str | Unset = UNSET, wref: str | Unset = UNSET, kind: CommitOperationKind | Unset = UNSET, data: JsonValue | Unset = UNSET, type: str | Unset = UNSET, members: Sequence[str] | Unset = UNSET, affirmed_targets: Sequence[str] | Unset = UNSET, expected_version: int | Unset = UNSET, lease_id: str | Unset = UNSET, **unknown: Never)

Replace the shape-validated data on an existing target.

data is a full replacement, not a patch — include every shape field, not just the ones that changed.

Revise cannot deactivate a target: there is no active field, and passing one raises a TypeError naming Retract.

operation = 'revise'

Documentation is not yet available.

name

Documentation is not yet available.

wref

Documentation is not yet available.

kind

Documentation is not yet available.

data

Documentation is not yet available.

type

Documentation is not yet available.

members

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.