Closed FranGM closed 3 years ago
@FranGM This looks good an easy to merge and wont harm anyone/anything.
But i am just more curious in how exactly you are patching/sublcassing this really becuase when i look inside redis-py they do not expose this class in their all method and they have no option to change out the pipeline class as a input argument to the def pipeline(...)
method either.
The short version is that we also have our own subclass of StrictRedis
which overrides the pipeline
method (https://github.com/reddit/baseplate.py/blob/develop/baseplate/clients/redis.py#L142-L163) but you're right, they also don't add it to __all__
, which I actually didn't realise this morning when I was looking at this. Might have needed a second coffee before opening the issue 😅
Ha :) no worry, i will merge it once the travis-ci run is completed
@FranGM Thank you for this contribution
This will allow users of the library to subclass
ClusterPipeline
as well asRedisClient
Fixes https://github.com/Grokzen/redis-py-cluster/issues/441