code: def run_update(code, keys, value, comment, _app):
      key_list = keys.split(".")
  
      space_str = ":\n  "
      key_str = "{}".format(key_list[0])
      for key in key_list[1:]:
          key_str = key_str + space_str + key
          space_str = space_str + "  "
      if not _app:
          yaml_str = """{}: {}""".format(key_str, value)
      else:
          yaml_str = "{}{}- {}".format(key_str, space_str, value)
  
      if comment:
          yaml_str = "{} # {}".format(yaml_str, comment)
  
      mcode = yaml.load(yaml_str)
  
      _merge(code, mcode)
  
imports: import sys
  import argparse
  from argparse import Namespace
  import os, shutil
  import getopt
  from ruamel.yaml import YAML, yaml_object
  from ruamel.yaml.comments import CommentedSeq, CommentedMap
  from ruamel.yaml.tokens import CommentToken
label_desc: Use image node_id 11 for calling a global function with example usage: run_update(code, keys, value, comment, _app) without return types