github.com/alkemics/goflow@v0.2.1/wrappers/inputs/inputs.yml (about) 1 name: Inputs 2 package: main 3 4 inputs: 5 - a: single 6 - b 7 - no? 8 9 nodes: 10 - id: make_slice 11 type: nodes.SliceMaker 12 13 - id: add 14 type: nodes.IntAggregator 15 bind: 16 list: 17 - inputs.a 18 - inputs.b 19 - make_slice.list 20 reducer: functions.IntSum 21 22 - id: print 23 type: nodes.PrinterCtx 24 bind: 25 values: 26 - '"the result should be 12"' 27 - add.result 28 29 - id: do_not_print 30 type: nodes.Printer 31 if: 32 - inputs.no 33 bind: 34 values: 35 - '"this is not printed"'