You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was comparing some some code we had written against redis-py that uses the expireat(). The real code works because redis-py supports datetime object as well as int argument.
I was comparing some some code we had written against redis-py that uses the expireat(). The real code works because redis-py supports datetime object as well as int argument.
Currently, mockredis's expireat() function only supports int argument. It would be nice if mockredis could also support a similar interface so that the same code can be tested against a mock backend.
https://github.com/locationlabs/mockredis/blob/master/mockredis/client.py#L208
The text was updated successfully, but these errors were encountered: