Skip to content

Commit 87c07fc

Browse files
committed
commit message: fix(redis-client): fix broken types
1 parent 4a7216b commit 87c07fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redis/commands/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ def acl_setuser(
190190
username: str,
191191
enabled: bool = False,
192192
nopass: bool = False,
193-
passwords: Optional[str, Iterable[str]] = None,
194-
hashed_passwords: Optional[str, Iterable[str]] = None,
193+
passwords: Optional[Union[str, Iterable[str]]] = None,
194+
hashed_passwords: Optional[Union[str, Iterable[str]]] = None,
195195
categories: Optional[Iterable[str]] = None,
196196
commands: Optional[Iterable[str]] = None,
197197
keys: Optional[Iterable[KeyT]] = None,

0 commit comments

Comments
 (0)