Closed Jaymon closed 2 years ago
This can be done by making a get_ttl() method that is something like this:
get_ttl()
def get_ttl(self): return int(self.ttl)
and anytime the expire time is going to be sent to redis you should then just call this method.
This can be done by making a
get_ttl()
method that is something like this:and anytime the expire time is going to be sent to redis you should then just call this method.