diff options
author | Антон Безденежных <gamer392@yandex.ru> | 2022-07-24 20:40:50 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-24 18:40:50 +0300 |
commit | 99b4df4af565bbf05f8aafbdf4d65d768416c250 (patch) | |
tree | adcd0e0f7cef12c2b82c05a3f0d0653241532413 | |
parent | a8c8227b0cddab6ae77fecbd935f327b30628b32 (diff) | |
download | redis-py-99b4df4af565bbf05f8aafbdf4d65d768416c250.tar.gz |
Fix: `start_id` type for `XAUTOCLAIM` (#2257)
* Changed start_id type for xautoclaim
* Added to changes
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r-- | redis/commands/core.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ + * Fix start_id type for XAUTOCLAIM * Remove verbose logging from cluster.py * Add retry mechanism to async version of Connection * Compare commands case-insensitively in the asyncio command parser diff --git a/redis/commands/core.py b/redis/commands/core.py index 027d3db..455c3f4 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -3420,7 +3420,7 @@ class StreamCommands(CommandsProtocol): groupname: GroupT, consumername: ConsumerT, min_idle_time: int, - start_id: int = 0, + start_id: StreamIdT = "0-0", count: Union[int, None] = None, justid: bool = False, ) -> ResponseT: |