code: def main():
      args = get_args()
      func_info = utils.load_function_info(flatten=True)
      if exists(args.path_types):
          func_types = utils.load_yaml_ordered(
              open(args.path_types, "r")
          )
      else:
          func_types = OrderedDict()
      for name, func in func_info.items():
          if name in func_types:
              continue
          print("Processing %s..." % name)
          types = OrderedDict()
          if args.default_type is not None:
              types[args.default_type] = [args.default_type]
          func_types[name] = types
      utils.dump_yaml(func_types, open(args.path_types, "w"))
  
imports: from os.path import exists
  import code_generator_utils
  from collections import OrderedDict
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types