MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / save_json

Method save_json

verifier/AgentVerifier/WorkflowToLean.py:233–235  ·  view source on GitHub ↗
(self, path: str, indent: int = 2)

Source from the content-addressed store, hash-verified

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":

Callers 2

WorkflowToLean.pyFile · 0.80
mainFunction · 0.80

Calls 1

to_dictMethod · 0.95

Tested by

no test coverage detected