diff options
author | Rich Li <richli@users.noreply.github.com> | 2022-04-27 16:38:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 02:38:56 +0300 |
commit | 9e7e9733de7db3c68bdfd142ff94c63f27bf6bdf (patch) | |
tree | 96ffe673d04adbd815a09ed23d0e6cd36dc60b64 /redis/commands/core.py | |
parent | cfebc0fa9c4f7e4ef141729959cd149861cfd706 (diff) | |
download | redis-py-9e7e9733de7db3c68bdfd142ff94c63f27bf6bdf.tar.gz |
Update xtrim type annotation (#2093)
Diffstat (limited to 'redis/commands/core.py')
-rw-r--r-- | redis/commands/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |