summaryrefslogtreecommitdiff
path: root/redis
diff options
context:
space:
mode:
authorAndrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com>2021-10-14 09:36:22 -0400
committerGitHub <noreply@github.com>2021-10-14 16:36:22 +0300
commit3dc28e9bdeb745107d20a0be8a7ffc565a71da10 (patch)
treed8a12e3c29ecbee55009fcedd344791dab7f0529 /redis
parent65c433407dc02aff90fc41f63ea46b372b374b9b (diff)
downloadredis-py-3dc28e9bdeb745107d20a0be8a7ffc565a71da10.tar.gz
Add client_id param to docs for client_list (#1589)
Diffstat (limited to 'redis')
-rw-r--r--redis/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/commands.py b/redis/commands.py
index e10238a..94489d1 100644
--- a/redis/commands.py
+++ b/redis/commands.py
@@ -355,6 +355,7 @@ class Commands:
If type of client specified, only that type will be returned.
:param _type: optional. one of the client types (normal, master,
replica, pubsub)
+ :param client_id: optional. a list of client ids
"""
"Returns a list of currently connected clients"
args = []
@@ -2208,7 +2209,7 @@ class Commands:
"""
pieces = []
if maxlen is not None and minid is not None:
- raise DataError("Only one of ```maxlen``` or ```minid```",
+ raise DataError("Only one of ``maxlen`` or ``minid`` "
"may be specified")
if maxlen is not None: