code: def test_mutable_inputs():
      pipe = Pipeline()
      pipe.add_component("mangler1", InputMangler())
      pipe.add_component("mangler2", InputMangler())
      pipe.add_component("concat1", StringListJoiner())
      pipe.add_component("concat2", StringListJoiner())
      pipe.connect("mangler1", "concat1")
      pipe.connect("mangler2", "concat2")
  
      mylist = ["foo", "bar"]
  
      result = pipe.run(
          data={
              "mangler1": {"input_list": mylist},
              "mangler2": {"input_list": mylist},
          }
      )
      assert (
          result["concat1"]["output"]
          == result["concat2"]["output"]
          == ["foo", "bar", "extra_item"]
      )
  
imports: from typing import List
  from haystack.core.pipeline import Pipeline
  from haystack.core.component import component
  from haystack.testing.sample_components import StringListJoiner
label_desc: Use image node_id 1 for calling a global function with example usage: test_mutable_inputs() without return types