code: def _get_caching_key(language, entity_scope):
      tuple_key = (language,)
      tuple_key += tuple(entity for entity in sorted(entity_scope))
      return tuple_key
  
imports: from __future__ import unicode_literals
  import json
  import shutil
  from future.builtins import str
  from snips_nlu.common.io_utils import temp_dir
  from snips_nlu.common.utils import json_string
  from snips_nlu.constants import DATA_PATH, ENTITIES, LANGUAGE
  from snips_nlu.entity_parser.entity_parser import EntityParser
  from snips_nlu.result import parsed_entity
label_desc: Use image node_id 8 for calling a global function with example usage: _get_caching_key(language, entity_scope) and returns: tuple_key