@classmethod
  def UpdateOperation(cls, client, callback, user_id, device_id, device_dict):
    def _OnQuery(device):
      device.UpdateFields(**device_dict)
      device.Update(client, callback)

    Device.Query(client, user_id, device_id, None, _OnQuery)
Open and yield file for reading the image file for an image
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/device.py/Device.UpdateOperation--crossover with--dataset/ETHPy150Open rcbops/glance-buildpackage/glance/image_cache/drivers/xattr.py/Driver.open_for_read