code: def hmset(self, key, field, value, *pairs):
          
          if len(pairs) % 2 != 0:
              raise TypeError("length of pairs must be even number")
          return wait_ok(self.execute(b'HMSET', key, field, value, *pairs))
docs: Set multiple hash fields to multiple values.