diff --git a/stubs/redis/redis/asyncio/client.pyi b/stubs/redis/redis/asyncio/client.pyi index 2ec11d7b5120..2c8b4235a068 100644 --- a/stubs/redis/redis/asyncio/client.pyi +++ b/stubs/redis/redis/asyncio/client.pyi @@ -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, diff --git a/stubs/redis/redis/commands/core.pyi b/stubs/redis/redis/commands/core.pyi index 6aaf9d3a7694..9f96fe591fab 100644 --- a/stubs/redis/redis/commands/core.pyi +++ b/stubs/redis/redis/commands/core.pyi @@ -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,