code: def test_pipeline():
      pipeline = Pipeline()
      pipeline.add_component("add_one", AddFixedValue(add=1))
      pipeline.add_component("parity", Parity())
      pipeline.add_component("add_ten", AddFixedValue(add=10))
      pipeline.add_component("double", Double())
      pipeline.add_component("add_three", AddFixedValue(add=3))
  
      pipeline.connect("add_one.result", "parity.value")
      pipeline.connect("parity.even", "add_ten.value")
      pipeline.connect("parity.odd", "double.value")
      pipeline.connect("add_ten.result", "add_three.value")
  
      results = pipeline.run({"add_one": {"value": 1}})
      assert results == {"add_three": {"result": 15}}
  
      results = pipeline.run({"add_one": {"value": 2}})
      assert results == {"double": {"value": 6}}
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_pipeline() without return types