def getset(self, key, value):
        return self.execute_command("GETSET", key, value)
Set a key to a string returning the old value of the key
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/txredisapi.py/RedisProtocol.getset