def key_id_or_name_as_string_n(index):

  def transform_function(key):
    id_or_name = _key_id_or_name_n(key, index)
    if not id_or_name:
      return u''
    return unicode(id_or_name)

  return transform_function

# # Commonly used helper which returns the value of the leaf key.
Pull out the nth (0-based) key id or name from a key which has parents.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/transform.py/key_id_or_name_as_string_n