mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-11 15:49:12 +08:00
Redis: Add missing types for id in xadd (#10403)
This commit is contained in:
1 parent
702226e1fd
commit
fc7d4722ea
2 files changed
+3
-3
No files matched your search
@@ -588,7 +588,7 @@ class Pipeline(Redis[_StrType], Generic[_StrType]):
|
||||
self,
|
||||
name,
|
||||
fields,
|
||||
id: str = "*",
|
||||
id: str | int | bytes | memoryview = "*",
|
||||
maxlen=None,
|
||||
approximate: bool = True,
|
||||
nomkstream: bool = False,
|
||||
|
||||
@@ -864,7 +864,7 @@ class StreamCommands:
|
||||
self,
|
||||
name,
|
||||
fields,
|
||||
id: str = "*",
|
||||
id: str | int | bytes | memoryview = "*",
|
||||
maxlen=None,
|
||||
approximate: bool = True,
|
||||
nomkstream: bool = False,
|
||||
@@ -930,7 +930,7 @@ class AsyncStreamCommands:
|
||||
self,
|
||||
name,
|
||||
fields,
|
||||
id: str = "*",
|
||||
id: str | int | bytes | memoryview = "*",
|
||||
maxlen=None,
|
||||
approximate: bool = True,
|
||||
nomkstream: bool = False,
|
||||
|
||||
Reference in new issue
Block a user