MCPcopy Create free account
hub / github.com/BUPT-GAMMA/MASFactory / build

Method build

masfactory/components/graphs/root_graph.py:59–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 return self._output,self.attributes.copy()
58
59 def build(self):
60 if self._is_built:
61 return
62 super().build()
63 try:
64 from masfactory.visualizer import get_bridge # noqa: WPS433
65 except Exception:
66 get_bridge = None # type: ignore[assignment]
67 runtime = get_bridge() if get_bridge is not None else None
68 if runtime is not None:
69 runtime.attach_graph(self)
70 def _update_gate_state(self):
71 pass
72 def _message_aggregate_in(self) -> dict[str,object]:

Callers 15

mainFunction · 0.95
build_graphFunction · 0.95
create_logic_grid_graphFunction · 0.95
build_gaia_graphFunction · 0.95
build_humaneval_graphFunction · 0.95

Calls 2

get_bridgeFunction · 0.90
attach_graphMethod · 0.80

Tested by

no test coverage detected