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

Method __init__

masfactory/components/graphs/loop.py:104–105  ·  view source on GitHub ↗
(self, name, gate_close_callback:Callable|None=None, pull_keys:dict[str,dict|str]|None=None, push_keys:dict[str,dict|str]|None=None)

Source from the content-addressed store, hash-verified

102 class TerminateNode(InternalGraphNode):
103 """Internal node that forces loop termination (break-like behavior)."""
104 def __init__(self, name, gate_close_callback:Callable|None=None, pull_keys:dict[str,dict|str]|None=None, push_keys:dict[str,dict|str]|None=None):
105 super().__init__(name, gate_close_callback, pull_keys, push_keys)
106 @property
107 def is_ready(self) -> bool:
108 for in_edge in self.in_edges:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected