(self, path: str, indent: int = 2)
| 231 | ) |
| 232 | |
| 233 | def save_json(self, path: str, indent: int = 2) -> None: |
| 234 | with open(path, "w", encoding="utf-8") as f: |
| 235 | json.dump(self.to_dict(), f, indent=indent, ensure_ascii=False) |
| 236 | |
| 237 | @staticmethod |
| 238 | def load_json(path: str) -> "WorkflowIR": |
no test coverage detected