diff_ast
Compare two Python files structurally to reveal added, removed, or modified functions, classes, methods, module variables, imports, and all. Performs a signature-level diff, not a text diff.
Instructions
Structural diff between two Python files: added, removed and modified
functions, classes, methods, module variables, imports and __all__.
Signature-level, not text-level.
Args: old_path: Path to the original file. new_path: Path to the updated file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_path | Yes | ||
| old_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |