'Return mapping of ids to annotations. Each annotation is of the
form (type, location_info, content). path_map is a mapping of
ids to paths on the device.'

def annotations(self, done, path_map, add_as_step_to_job=None):

    return self.create_job_step(self._annotations, done, args=[path_map], description=_('Get    annotations    from    device'), to_job=add_as_step_to_job)
