code: def _raise_key_rename_error(full_key):
      new_key = _RENAMED_KEYS[full_key]
      if isinstance(new_key, tuple):
          msg = " Note: " + new_key[1]
          new_key = new_key[0]
      else:
          msg = ""
      raise KeyError(
          "Key {} was renamed to {}; please update your config.{}".format(
              full_key, new_key, msg
          )
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from ast import literal_eval
  from future.utils import iteritems
  from past.builtins import basestring
  import copy
  import logging
  import numpy
  import os
  import os.path
  import yaml
  from detectron.utils.collections import AttrDict
  from detectron.utils.io import cache_url
label_desc: Use image node_id 11 for calling a global function with example usage: _raise_key_rename_error(full_key) without return types