@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)
Updates device metadata.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/device.py/Device.UpdateOperation