Closed edwardwufast closed 3 years ago
Hmm, interesting. I will have a look at it why that argument is persisted down there. Will have to look at all other methods to see who might need that kwargs there or not. But good reproducable example tho. I am a bit surprised that unittests did not catch this really O.o have to look at that as well. My guess would be the unittest configuration do not set that flag or something, will see what i can dig up.
Fixed in 4961bd86f176c2d6667bca1eac982f033710a2c4
Version: redis==3.5.3 redis-py-cluster==2.1.0
Platform: Python 3.8.3 on Amazon Linux 2 4.14.192-147.314.amzn2.x86_64
Description:
Here is the sample code:
The result:
I checked it with pdb. It seem like the lambda function self.result_callbacks['SLOWLOG GET'] did not support 'decode_responses'. Once I remove "**kwargs" , it works. Could you fix this ?