def get_task_name(shard_id, slice_id):
    """Compute single worker task name.

    Args:
      shard_id: id of the shard (part of the whole dataset) as string.
      slice_id: id of the slice (part of the shard) as int.

    Returns:
      task name which should be used to process specified shard/slice.
    """
    # Prefix the task name with something unique to this framework's
    # namespace so we don't conflict with user tasks on the queue.
    return "appengine-mrshard-%s-%s" % (shard_id, slice_id)
Compute single worker task name.

    Args:
      shard_id: id of the shard (part of the whole dataset) as string.
      slice_id: id of the slice (part of the shard) as int.

    Returns:
      task name which should be used to process specified shard/slice.
    
mapreduce/handlers.py