Skip to main content

unified_diff

Method
This is a method of the ConfigDiff class in the doctor_protocol module.
Render a unified before/after diff for previewing the change.

Signature

Returns

str
The result of the operation.

Uses

  • splitlines
  • json.dumps
  • difflib.unified_diff

Used By

Source

View on GitHub

praisonaiagents/runtime/doctor_protocol.py at line 32