-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement redis-py's .lock() #79
Comments
Hey there, is there a reason this was closed without comment? I'm actually in need of the same thing. |
I found a workaround for my own use case; if there's some utility in a general solution, though, I'm happy to reopen and open a PR. Just waiting on @jamesls to weigh in. |
Sorry for the delay. Definitely would be open to a PR that emulates redis-py's |
Okay - I definitely won't have time to look at this again for a few weeks, but I can pick it up in early July. |
This would be very helpful. Have you had time to look at this @akshayjshah? |
As is probably obvious, I don't think I'm going to get to this (probably ever) - I've mostly stopped using Redis and fakredis. Up to @jamesls whether he'd like to close this issue, or whether it's worth keeping around. |
+1 need this |
Need this !! |
fakeredis.FakeStrictRedis
doesn't implement redis-py's .lock() method. Are you open to a pull request that uses the standard lib'sthreading.Lock
to fake the same behavior?(Of course, I'll follow the contribution guidelines :)
The text was updated successfully, but these errors were encountered: