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

Function tutorial_template

python/tutorial/T08-Template.py:15–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14
15def tutorial_template():
16 pipeline = GPipeline()
17 a, b, c = MyNode1(), MyTemplateNode(1, 3.25), MyTemplateNode(2, 9.28)
18
19 pipeline.registerGElement(a, set(), "nodeA")
20 pipeline.registerGElement(b, {a}, "templateNodeB")
21 pipeline.registerGElement(c, {b}, "templateNodeC")
22
23 pipeline.process()
24
25
26if __name__ == '__main__':

Callers 1

T08-Template.pyFile · 0.70

Calls 4

processMethod · 0.95
MyNode1Class · 0.90
MyTemplateNodeClass · 0.90
GPipelineClass · 0.85

Tested by

no test coverage detected