Method
__init__
(self, graph=None, handle=None)
Source from the content-addressed store, hash-verified
| 86 | |
| 87 | class FlowGraphNode: |
| 88 | def __init__(self, graph=None, handle=None): |
| 89 | _handle = handle |
| 90 | if _handle is None: |
| 91 | if graph is None: |
| 92 | raise ValueError("flow graph node must be associated with a graph") |
| 93 | _handle = core.BNCreateFlowGraphNode(graph.handle) |
| 94 | assert _handle is not None |
| 95 | self.handle = _handle |
| 96 | self._graph = graph |
| 97 | if self._graph is None: |
| 98 | self._graph = FlowGraph(handle=core.BNGetFlowGraphNodeOwner(self.handle)) |
| 99 | |
| 100 | def __del__(self): |
| 101 | if core is not None: |
Callers
nothing calls this directly
Tested by
no test coverage detected