Mehdi ABAAKOUK
2023-08-22 14:28:15 +02:00
committed by GitHub
parent 2c15a8e790
commit 32b750b6aa

View File

@@ -862,8 +862,8 @@ class StreamCommands:
def xack(self, name, groupname, *ids): ...
def xadd(
self,
name,
fields,
name: KeyT,
fields: Mapping[bytes | memoryview | str | float, bytes | memoryview | str | float],
id: str | int | bytes | memoryview = "*",
maxlen=None,
approximate: bool = True,
@@ -894,7 +894,7 @@ class StreamCommands:
force=False,
justid=False,
): ...
def xdel(self, name, *ids): ...
def xdel(self, name: KeyT, *ids: str | int | bytes | memoryview): ...
def xgroup_create(self, name, groupname, id: str = "$", mkstream: bool = False, entries_read: int | None = None): ...
def xgroup_delconsumer(self, name, groupname, consumername): ...
def xgroup_destroy(self, name, groupname): ...
@@ -928,8 +928,8 @@ class AsyncStreamCommands:
async def xack(self, name, groupname, *ids): ...
async def xadd(
self,
name,
fields,
name: KeyT,
fields: Mapping[bytes | memoryview | str | float, bytes | memoryview | str | float],
id: str | int | bytes | memoryview = "*",
maxlen=None,
approximate: bool = True,
@@ -960,7 +960,7 @@ class AsyncStreamCommands:
force=False,
justid=False,
): ...
async def xdel(self, name, *ids): ...
async def xdel(self, name: KeyT, *ids: str | int | bytes | memoryview): ...
async def xgroup_create(self, name, groupname, id: str = "$", mkstream: bool = False, entries_read: int | None = None): ...
async def xgroup_delconsumer(self, name, groupname, consumername): ...
async def xgroup_destroy(self, name, groupname): ...