Raw XREAD command fails with "Invalid argument type"
See original GitHub issue(Assuming you have a working client
and a stream named stream
)
When trying to call client.XREAD('STREAMS', 'stream', '0')
the code throws a TypeError: Invalid argument type
exception.
I think it’s a bug, equivalent redis command is XREAD STREAMS stream 0
and runs without issue through redis-cli.
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
invalid argument type' error when using !! operator in R - Stack ...
I am trying to programmatically initialize some variables in R so that the variable name would be the evaluated content of the string....
Read more >Error in !is.na : invalid argument type · Issue #185 - GitHub
I am having an issue with check_model(), in which some of the models I run elicit this error: Error in !is.na : invalid...
Read more >Node Redis
To check if the the client is connected and ready to send commands, use client.isReady which returns a boolean. client.isOpen is also available....
Read more >You're Probably Thinking About Redis Streams Wrong
Generally, sending raw Redis commands and decoding the results provides a little more control and isn't onerous. So, when sending commands to ...
Read more >Mypy Documentation - Read the Docs
This command makes mypy type check your program.py file and print out any errors ... v3: Vec[int, int] = [] # Error: Invalid...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://redis.js.org/documentation/client/modules/lib_commands_XREAD.html BTW, the package has full TS support, so you should get autocomplete in your IDE
It does work now, thanks!
I thought raw commands had a simple mapping to redis commands like literally [args, arg, arg, arg, …]
I see that’s not the case, is this documented anywhere (how to call each of the raw commands)?