Skip to content

Commit 3dc28e9

Browse files
Add client_id param to docs for client_list (#1589)
1 parent 65c4334 commit 3dc28e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redis/commands.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ def client_list(self, _type=None, client_id=[]):
355355
If type of client specified, only that type will be returned.
356356
:param _type: optional. one of the client types (normal, master,
357357
replica, pubsub)
358+
:param client_id: optional. a list of client ids
358359
"""
359360
"Returns a list of currently connected clients"
360361
args = []
@@ -2208,7 +2209,7 @@ def xtrim(self, name, maxlen=None, approximate=True, minid=None,
22082209
"""
22092210
pieces = []
22102211
if maxlen is not None and minid is not None:
2211-
raise DataError("Only one of ```maxlen``` or ```minid```",
2212+
raise DataError("Only one of ``maxlen`` or ``minid`` "
22122213
"may be specified")
22132214

22142215
if maxlen is not None:

0 commit comments

Comments
 (0)