gridverse-open-low-code-pla.../gridverse/delta_sync.py

6 lines
194 B
Python

def reconcile(local: dict, remote: dict) -> dict:
# Simple merge: remote wins on conflicts and extends with any new keys
merged = dict(local)
merged.update(remote)
return merged