code: def get_parser():
      parser = argparse.ArgumentParser(
          description="get a specified attribute from a YAML file",
          formatter_class=argparse.ArgumentDefaultsHelpFormatter,
      )
      parser.add_argument("inyaml")
      parser.add_argument(
          "attr",
          help='foo.bar will access yaml.load(inyaml)["foo"]["bar"]',
      )
      return parser
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser