Grokzen / redis-py-cluster

Python cluster client for the official redis cluster. Redis 3.0+.
https://redis-py-cluster.readthedocs.io/
MIT License
1.1k stars 315 forks source link

could I use lrange with pipline? #431

Closed ucasiggcas closed 3 years ago

ucasiggcas commented 3 years ago

hi,dear when I run the down codes,I got the wrong thing,

>>> redis_obj=get_redis()
>>> with redis_obj.pipeline() as pipeline2:
...     key_feat=pipeline2.lrange('kdjdjo',0,100)
... 
>>> key_feat
ClusterPipeline

So why is the ClusterPipeline ? it should be a list in fact could you pls help me ?

Grokzen commented 3 years ago

@ucasiggcas This section is for reporting issues and not general questions or help. Please reopen this in the Discussion tag that you will find to the right of the Pull Requests tab.