Skip to content

Commit

Permalink
Fix typing in getex command (#2088)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Chen-Wang authored Apr 18, 2022
1 parent 805b184 commit e5e265d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def acl_setuser(
For more information see https://redis.io/commands/acl-setuser
"""
encoder = self.get_encoder()
pieces: list[str | bytes] = [username]
pieces: List[EncodableT] = [username]

if reset:
pieces.append(b"reset")
Expand Down

0 comments on commit e5e265d

Please sign in to comment.