MCPcopy Index your code
hub / github.com/pathwaycom/pathway / add_node

Method add_node

python/pathway/internals/parse_graph.py:41–44  ·  view source on GitHub ↗
(self, node: operator.Operator, *, special: bool = False)

Source from the content-addressed store, hash-verified

39 return not self._nodes
40
41 def add_node(self, node: operator.Operator, *, special: bool = False) -> None:
42 self._nodes.add(node)
43 if not special:
44 self._normal_nodes.add(node)
45
46 @property
47 def nodes(self) -> Iterator[operator.Operator]:

Callers 1

add_operatorMethod · 0.80

Calls 1

addMethod · 0.45

Tested by

no test coverage detected