Set a key, value pair.

def set(self, key, value):
        """Set a key, value pair."""
        key = "{0}{1}".format(self.prefix, key)

        value = json.dumps(value, cls=NumpyEncoder)
        self.redis.set(key, value)