def get_many(self, *args, **kwargs):
    return ((id, {'result': i, 'status': states.SUCCESS}) for (i, id) in enumerate(self.ids))
def get_many(self, *args, **kwargs):
    return ((id, {'result': i, 'status': states.SUCCESS}) for (i, id) in enumerate(self.ids))