Skip to content

ThingChanges

Class: warmhub.ThingChanges

ThingChanges(items: Sequence[ThingItem[JsonValue]], repo_seq: int)

A completed incremental scan: every change, and where the scan ended.

Returned by thing.head_changes and thing.query_changes. The pair is the unit — key a local cache by item.metadata["durableId"] and keep repo_seq to pass as the next scan’s since_repo_seq. Discarding the sequence and keeping only the items throws away the resumability the drain exists to provide.

Not a RawSnapshot: it is assembled from many pages, so there is no single server payload for raw to be the record of.

items

Documentation is not yet available.

repo_seq

Documentation is not yet available.