def percent_encode(string):
    return quote(string.encode('utf-8'), '~')
Get the time to live for a key
dataset/ETHPy150Open gocardless/gocardless-python/gocardless/utils.py/percent_encode--crossover with--dataset/ETHPy150Open deldotdr/txRedis/txredis/client.py/RedisClient.ttl