code: def mset(self, *args):
          
          data = args
          if len(args) == 1:
              if not isinstance(args[0], dict):
                  raise TypeError("if one arg it should be a dict")
              data = chain.from_iterable(args[0].items())
          elif len(args) % 2 != 0:
              raise TypeError("length of pairs must be even number")
          fut = self.execute(b'MSET', *data)
          return wait_ok(fut)
docs: Set multiple keys to multiple values or unpack dict to keys & values.
  
          :raises TypeError: if len of args is not event number
          :raises TypeError: if len of args equals 1 and it is not a dict