def Resolve(self, attribute):
    if attribute in self.to_set:
      return max(self.to_set[attribute], key=lambda vt: vt[1])
    if attribute in self.to_delete:
      return (None, 0)

    return self.store.Resolve(self.subject, attribute, token=self.token)
dataset/ETHPy150Open google/grr/grr/lib/data_store.py/CommonTransaction.Resolve/original