Skip to content

Commit 9e7e973

Browse files
authored
Update xtrim type annotation (#2093)
1 parent cfebc0f commit 9e7e973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/commands/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3819,7 +3819,7 @@ def xrevrange(
38193819
def xtrim(
38203820
self,
38213821
name: KeyT,
3822-
maxlen: int,
3822+
maxlen: Union[int, None],
38233823
approximate: bool = True,
38243824
minid: Union[StreamIdT, None] = None,
38253825
limit: Union[int, None] = None,

0 commit comments

Comments
 (0)