MCPcopy Create free account
hub / github.com/Emmimal/control-layer / __init__

Method __init__

control_layer.py:667–669  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

665 """
666
667 def __init__(self):
668 self._strategies: Dict[str, Callable[[str], str]] = {}
669 self._order: List[str] = []
670
671 def register(self, name: str, fn: Callable[[str], str]) -> None:
672 self._strategies[name] = fn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected