code: def scan(self, match="*", count=1000, cursor=0):
          
          if self.serialized:
              cursor, data = self._client.zscan(
                  self.key_prefix, cursor=cursor, match=match, count=count)
              return (cursor, list(map(
                  lambda x: (self._loads(x[0]), self.cast(x[1])), data)))
          else:
              cursor, data = self._client.zscan(
                  self.key_prefix, cursor=cursor, match=match, count=count)
              return (cursor, list(map(
                  lambda x: (self._decode(x[0]), self.cast(x[1])), data)))
docs: :see::meth:RedisMap.scan