code: def _generate_codegen_args(parser, codegen_name):
      codegen = get_codegen_by_target(codegen_name)
      pass_configs = PassContext.list_configs()
  
      if (
          codegen["config_key"] is not None
          and codegen["config_key"] in pass_configs
      ):
          target_group = parser.add_argument_group(
              f"target {codegen_name}"
          )
          attrs = make_node(pass_configs[codegen["config_key"]]["type"])
          fields = attrs_api.AttrsListFieldInfo(attrs)
          for field in fields:
              for (
                  tvm_type,
                  python_type,
              ) in INTERNAL_TO_NATIVE_TYPE.items():
                  if field.type_info.startswith(tvm_type):
                      target_option = field.name
                      target_group.add_argument(
                          f"--target-{codegen_name}-{target_option}",
                          type=python_type,
                          help=field.description,
                      )
  
imports: import os
  import logging
  import json
  import re
  import tvm
  from tvm.driver import tvmc
  from tvm.driver.tvmc import TVMCException
  from tvm.driver.tvmc.composite_target import get_codegen_by_target, get_codegen_names
  from tvm.ir.attrs import make_node, _ffi_api
  from tvm.ir.transform import PassContext
  from tvm.target import Target, TargetKind
label_desc: Use image node_id 3 for calling a global function with example usage: _generate_codegen_args(parser, codegen_name) without return types