Skip to content

Commit 7eb70f0

Browse files
committed
Add xautoclaim to redis and update xinfo_stream
1 parent 2445edd commit 7eb70f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stubs/redis/redis/client.pyi

+2-1
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ class Redis(Generic[_StrType]):
590590
def sunionstore(self, dest: _Key, keys: _Key | Iterable[_Key], *args: _Key) -> int: ...
591591
def xack(self, name, groupname, *ids): ...
592592
def xadd(self, name, fields, id=..., maxlen=..., approximate=...): ...
593+
def xautoclaim(self, name, groupname, consumername, min_idle_time, start_id=..., count=..., justid=...): ...
593594
def xclaim(
594595
self, name, groupname, consumername, min_idle_time, message_ids, idle=..., time=..., retrycount=..., force=..., justid=...
595596
): ...
@@ -600,7 +601,7 @@ class Redis(Generic[_StrType]):
600601
def xgroup_setid(self, name, groupname, id): ...
601602
def xinfo_consumers(self, name, groupname): ...
602603
def xinfo_groups(self, name): ...
603-
def xinfo_stream(self, name): ...
604+
def xinfo_stream(self, name, full=...): ...
604605
def xlen(self, name: _Key) -> int: ...
605606
def xpending(self, name, groupname): ...
606607
def xpending_range(self, name, groupname, min, max, count, consumername=...): ...

0 commit comments

Comments
 (0)