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

Method from_dict

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

Source from the content-addressed store, hash-verified

186
187 @staticmethod
188 def from_dict(d: dict) -> "EdgeIR":
189 return EdgeIR(**{k: d.get(k) for k in (
190 "edge_type", "from_node", "to_node", "cond_node", "then_entry",
191 "else_entry", "header", "body_entry", "exit_node",
192 "fork_node", "branches", "join_node",
193 )})
194
195
196# ---------- WorkflowIR ----------

Callers

nothing calls this directly

Calls 2

EdgeIRClass · 0.85
getMethod · 0.80

Tested by

no test coverage detected