Redis: Add missing types for id in xadd (#10403)

This commit is contained in:
Damien Couppé authored and GitHub committed 2023-07-04 14:03:02 +02:00
1 parent 702226e1fd
commit fc7d4722ea
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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,
+2 -2
View File
@@ -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,