From 0d26114f481204417ecbde1017076ecf5ce37c1d Mon Sep 17 00:00:00 2001 From: Andrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com> Date: Tue, 5 Oct 2021 14:24:36 -0400 Subject: [PATCH] Add client_id param to docs for client_list --- redis/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redis/commands.py b/redis/commands.py index eb7cea54f6..a5c785a3aa 100644 --- a/redis/commands.py +++ b/redis/commands.py @@ -355,6 +355,7 @@ def client_list(self, _type=None, client_id=[]): 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 = [] @@ -2189,7 +2190,7 @@ def xtrim(self, name, maxlen=None, approximate=True, minid=None, """ 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: