ionelmc / python-redis-lock

Lock context manager implemented via redis SET NX EX and BLPOP.
https://pypi.python.org/pypi/python-redis-lock
BSD 2-Clause "Simplified" License
551 stars 77 forks source link

Locked method #72

Closed artslob closed 4 years ago

artslob commented 4 years ago

This is MR about adding method locked as in threading.Lock.

artslob commented 4 years ago

All tests are passing, but coverage export is failing.

artslob commented 4 years ago

@ionelmc What do you think about this PR?

ionelmc commented 4 years ago

Closes #69.

ionelmc commented 4 years ago

Thanks, I'll fix the coverage problem.