This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Pipelining get #78
Labels
help wanted
Extra attention is needed
Comments
result |
Hi, Here is my code: from redistimeseries.client import Client as RedisTS
client_kwargs = {"host": hostname, "port": port, "decode_responses": True}
rts = RedisTS(**client_kwargs)
rts.create('test', labels={'Time': 'Series'})
rts.add('test', 1, 1.12)
rts.add('test', 2, 1.12)
print(rts.get('test'))
pipeline = rts.pipeline(transaction=False)
pipeline.get('test')
print(pipeline.execute()) The first
I am running $ pip3 freeze | grep redis
hiredis==1.1.0
redis==3.5.3
redistimeseries==1.4.3 output of module list on the cli:
Thanks vm for your help! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I am trying to run something like:
This does not work, I could not find tests for
get
with pipelines. Adding works great though.My guess is that it is doing a "GET" and not a "TS.GET" (have not tested this).
The text was updated successfully, but these errors were encountered: