'Get task meta-data for a task by id.'

def _get_task_meta_for(self, task_id):

    meta = self.get(self.get_key_for_task(task_id))
    if (not meta):
        return {u'status': states.PENDING, u'result': None}
    return self.decode_result(meta)
