MCPcopy Index your code
hub / github.com/clips/pattern / __init__

Method __init__

pattern/graph/__init__.py:293–295  ·  view source on GitHub ↗
(self, graph, *args, **kwargs)

Source from the content-addressed store, hash-verified

291# Dictionary values can be accessed by Node as well as by node id.
292class nodedict(dict):
293 def __init__(self, graph, *args, **kwargs):
294 dict.__init__(self, *args, **kwargs)
295 self.graph = graph
296 def __contains__(self, node):
297 return dict.__contains__(self, self.graph.get(node, node))
298 def __getitem__(self, node):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected