mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Redis: Add missing types for id in xadd (#10403)
This commit is contained in:
@@ -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