code: def _remove_param_extra(help_record):
      if not help_record:
          return help_record
      # Help record is expected to be a two-tuple of option desc and
      # help text.
      if not isinstance(help_record, tuple) and len(help_record) != 2:
          return help_record
      return help_record[0], _remove_param_extra_help_text(
          help_record[1]
      )
  
imports: import contextlib
  import functools
  import json
  import os
  import re
  import click
  from click import shell_completion
  import guild
  from guild import python_util
label_desc: Use image node_id 21 for calling a global function with example usage: _remove_param_extra(help_record) and returns: help_record,  _remove_param_extra_help_text, help_record, help_record