def _get_devices_by_id(self, device_ids):
deferred_list = defer.DeferredList([self._get_device_by_id(device_id) for device_id in
device_ids], consumeErrors=True)
# working off JAMF's own data, so shouldn't fail
deferred_list.addCallback(stethoscope.api.utils.filter_by_status,
context=sys._getframe().f_code.co_name, level=logbook.ERROR)
return deferred_list
评论列表
文章目录