You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like redis-py added this in commit 9c60670deea5c593e20204bbd5f172ccfcd1d9db (redis/redis-py#1523). This was added in 4.0, so I suggest updating your redis-py to 4.0 at least.
I'm encountering a small probelm with the .pending method of a consumer group stream.
receive_cg.receive_stream.pending()
Raises
return self.database.xpending_range(self.key, self.group, min=start, TypeError: xpending_range() got an unexpected keyword argument 'idle'
By looking into your code i tracked this to the following lines:
[walrus/containers.py:1286]
return self.database.xpending_range(self.key, self.group, min=start, max=stop, count=count, consumername=consumer, idle=idle)
It also failed though I change my code:
receive_cg.receive_stream.pending(idle=1000)
I don't know what's wrong with it. It's so weird.
Can you help me?
The text was updated successfully, but these errors were encountered: