()
| 13 | |
| 14 | |
| 15 | def 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 | |
| 26 | if __name__ == '__main__': |
no test coverage detected