code: def test_dcn001_collect_nodes():
      nodes = collect_nodes(metadata)
  
      assert nodes == [
          "shape.node",
          "list_of_nodes",
          "list_of_union[].b",
          "list_of_union[]",
          "list_of_shapes[].label",
          "mixed",
          "direct",
          "nested_list.list[].component",
          "dynamic{}",
          "dynamic_list[]{}",
          "dynamic_node_in_dict.a{}",
          "dynamic_in_object{}.a",
      ]
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_dcn001_collect_nodes() without return types