Sandbox — LSD is in active testing. All systems operational·payments are test-mode (no real charges).
Overview Use Cases News Docs Tool Store Support Community Get LSD
All docs
Engine· method

Engine.diff

lists steps whose parameters changed since the last run

Python
diff(target=None) -> list[dict]

Returns list — one dict per step whose params changed since its last successful run

Parameters#

name type default description
target str | Entity | None None one entity by name or instance; None diffs every entity

Example#

Python
for change in engine.diff():
    print(change["step_class"], change["current_params"])

Notes#

Compares current parameter values against the param_snapshot stored in the manifest after each successful run. Returns an empty list when nothing changed or there is no prior snapshot. Each dict has entity_name, step_id, step_class, current_params, and old_params.

See also#

API: plan · run · Engine

By LSD Team · Last updated Jul 17, 2026 Ask on Discord View as Markdown