def pttl(self, name):
        "Returns the number of milliseconds until the key ``name`` will expire"
        return self.execute_command('PTTL', name)
Returns the number of milliseconds until the key ``name`` will expire
stackoverflow/venv/lib/python3.6/site-packages/redis/client.py