From 9e7e9733de7db3c68bdfd142ff94c63f27bf6bdf Mon Sep 17 00:00:00 2001 From: Rich Li Date: Wed, 27 Apr 2022 16:38:56 -0700 Subject: Update xtrim type annotation (#2093) --- redis/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redis/commands/core.py') diff --git a/redis/commands/core.py b/redis/commands/core.py index 30102eb..b52ddfe 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -3819,7 +3819,7 @@ class StreamCommands(CommandsProtocol): def xtrim( self, name: KeyT, - maxlen: int, + maxlen: Union[int, None], approximate: bool = True, minid: Union[StreamIdT, None] = None, limit: Union[int, None] = None, -- cgit v1.2.1