class documentation
class Change:
Represents a single net-effect change detected by the structural diff.
| Instance Variable | detail |
Optional free-form dict for supplementary annotations. Phase 5 uses {"reorder_candidate": True} to flag property sequences whose set is unchanged but whose order differs. |
| Instance Variable | fields |
For op="modified" class/property changes — an ordered list of {"field": str, "before": Any, "after": Any} dicts, one per changed field. Only changed fields are included. |
| Instance Variable | from_ |
Before-value for scalar changes (op="modified" on metadata). |
| Instance Variable | kind |
Broad category: "metadata", "class", or "property". |
| Instance Variable | op |
The operation: "added", "removed", or "modified". |
| Instance Variable | target |
The entity affected, e.g. "metadata", "ClassName", or "ClassName.propName". |
| Instance Variable | to |
After-value for scalar changes. |
Optional free-form dict for supplementary annotations. Phase 5 uses {"reorder_candidate": True} to flag property sequences whose set is unchanged but whose order differs.