From 6bbf741c8c74a684dcc1ab8da8133e99c021bfff Mon Sep 17 00:00:00 2001 From: yasonk Date: Sun, 29 Sep 2024 18:58:38 -0700 Subject: [PATCH] fixing doc for stream param in exec_run Signed-off-by: yasonk --- docker/models/containers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/models/containers.py b/docker/models/containers.py index 4795523a1..9c9e92c90 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -181,7 +181,8 @@ def exec_run(self, cmd, stdout=True, stderr=True, stdin=False, tty=False, user (str): User to execute command as. Default: root detach (bool): If true, detach from the exec command. Default: False - stream (bool): Stream response data. Default: False + stream (bool): Stream response data. Ignored if ``detach`` is true. + Default: False socket (bool): Return the connection socket to allow custom read/write operations. Default: False environment (dict or list): A dictionary or a list of strings in