def ttl(self, key):
        self._send('TTL', key)
        return self.getResponse()

    # transaction commands:
Get the time to live for a key
dataset/ETHPy150Open deldotdr/txRedis/txredis/client.py/RedisClient.ttl