flake8-pie
flake8-pie copied to clipboard
redis-set-expire
# err
redis.set(redis_key, data)
redis.expire(redis_key, timedelta(days=1))
# ok
redis.set(redis_key, data, ex=timedelta(days=1))
Note: I think we'd want to ignore the name of the client, and look for methods .set and .expire that are next to each other
https://redis.io/commands/set