code: def cli_render_config(sys_argv):
      parser = argparse.ArgumentParser(
          description="This script renders the full config from a user config.",
          prog="ludwig render_config",
          usage="%(prog)s [options]",
      )
      parser.add_argument(
          "-c",
          "--config",
          type=load_yaml,
          help="Path to the YAML file containing the model configuration",
      )
      parser.add_argument(
          "-cs",
          "--config_str",
          dest="config",
          type=load_config_from_str,
          help="JSON or YAML serialized string of the model configuration",
      )
      parser.add_argument(
          "-o",
          "--output",
          type=str,
          help="output rendered YAML config path",
          required=False,
      )
  
      add_contrib_callback_args(parser)
      args = parser.parse_args(sys_argv)
  
      args.callbacks = args.callbacks or []
      for callback in args.callbacks:
          callback.on_cmdline("render_config", *sys_argv)
  
      print_ludwig("Render Config", LUDWIG_VERSION)
      render_config(**vars(args))
  
file_path: ludwig/ludwig/utils/defaults.py
imports: import argparse
  import copy
  import logging
  import yaml
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.contrib import add_contrib_callback_args
  from ludwig.features.feature_registries import get_input_type_registry
  from ludwig.globals import LUDWIG_VERSION
  from ludwig.schema.model_config import ModelConfig
  from ludwig.schema.preprocessing import PreprocessingConfig
  from ludwig.utils.backward_compatibility import upgrade_config_dict_to_latest_version
  from ludwig.utils.data_utils import load_config_from_str, load_yaml
  from ludwig.utils.fs_utils import open_file
  from ludwig.utils.print_utils import print_ludwig
label_desc: Use image node_id 2 for calling a global function with example usage: cli_render_config(sys_argv) without return types