Skip to content

Commit 8e2ea28

Browse files
GaMeRaMdvora-h
andcommitted
Fix: start_id type for XAUTOCLAIM (redis#2257)
* Changed start_id type for xautoclaim * Added to changes Co-authored-by: dvora-h <[email protected]>
1 parent 8529170 commit 8e2ea28

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Fix start_id type for XAUTOCLAIM
12
* Remove verbose logging from cluster.py
23
* Add retry mechanism to async version of Connection
34
* Compare commands case-insensitively in the asyncio command parser

redis/commands/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3420,7 +3420,7 @@ def xautoclaim(
34203420
groupname: GroupT,
34213421
consumername: ConsumerT,
34223422
min_idle_time: int,
3423-
start_id: int = 0,
3423+
start_id: StreamIdT = "0-0",
34243424
count: Union[int, None] = None,
34253425
justid: bool = False,
34263426
) -> ResponseT:

0 commit comments

Comments
 (0)