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
Description: PR #2137 converted several arguments to redis.lock.Lock.__init__ into keyword only arguments. This is backwards incompatible as it disallows the use of these arguments positionally. Releasing this w/ 4.3.2 also violates semver 😅
The following snippet can be used to repro. It works fine on 4.3.1 but fails on 4.3.2 w/ a TypeError:
redis432 ❯ python nope.py
Traceback (most recent call last):
File "nope.py", line 9, in <module>
main()
File "nope.py", line 6, in main
Lock(r, "schlage", None)
TypeError: __init__() takes 3 positional arguments but 4 were given