imas.util.idsdiffgen¶
-
imas.util.idsdiffgen(struct1: IDSStructure, struct2: IDSStructure, *, accept_lazy=
False) Iterator[tuple[str, Any, Any]]¶ Generate differences between two structures.
- Parameters:
- struct1: IDSStructure¶
IDS or structure within an IDS.
- struct2: IDSStructure¶
IDS or structure within an IDS to compare against
struct1.
- Keyword Arguments:
- accept_lazy=
False¶ See documentation of
iter_nonempty_().
- accept_lazy=
- Yields:
(description_or_path, node1, node2) – tuple describing a difference:
Description of the difference (e.g.
"Data Dictionary version") or path of the IDS node.Node or value from struct1.
Node or value from struct2.
Last update:
2026-01-28