MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / tutorial_hold

Function tutorial_hold

python/tutorial/T14-Hold.py:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def tutorial_hold():
16 pipeline = GPipeline()
17 a, b = MyHoldNode(), MyNode1()
18
19 pipeline.registerGElement(a, set(), 'myHold')
20 pipeline.registerGElement(b, {a}, 'nodeA')
21 pipeline.process(3)
22
23
24if __name__ == '__main__':

Callers 1

T14-Hold.pyFile · 0.70

Calls 4

processMethod · 0.95
MyHoldNodeClass · 0.90
MyNode1Class · 0.90
GPipelineClass · 0.85

Tested by

no test coverage detected