I have a simple Redis command that does the following:
redis_conn.lpop(queue_name, batch_size)
According to the Redis documentation and their Python SDK documentation, this should be a valid request. And, yet, I get the following error:
redis.exceptions.ResponseError: wrong number of arguments for 'lpop' command
Maybe I'm being obtuse and making a noobie mistake because it's 2:00AM but, this should work. So why doesn't it?