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

Method from_dict

verifier/AgentVerifier/WorkflowToLean.py:127–134  ·  view source on GitHub ↗
(d: dict)

Source from the content-addressed store, hash-verified

125
126 @staticmethod
127 def from_dict(d: dict) -> "NodeIR":
128 return NodeIR(
129 id=d["id"], name=d["name"], step_type=d["step_type"],
130 reads=[TypedVar.from_dict(r) for r in d["reads"]],
131 writes=[TypedVar.from_dict(w) for w in d["writes"]],
132 instruction=d.get("instruction"),
133 submodule_ref=SubmoduleRef.from_dict(d["submodule_ref"]) if d.get("submodule_ref") else None,
134 )
135
136
137# ---------- EdgeIR ----------

Callers 3

loop.pyFile · 0.45
from_dictMethod · 0.45
load_jsonMethod · 0.45

Calls 2

NodeIRClass · 0.85
getMethod · 0.80

Tested by

no test coverage detected