Skip to content

Commit a8bac88

Browse files
authored
Merge pull request #3292 from yasonk/fix-exec_run-doc
fixing doc for stream param in exec_run
2 parents e031cf0 + 6bbf741 commit a8bac88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/models/containers.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ def exec_run(self, cmd, stdout=True, stderr=True, stdin=False, tty=False,
181181
user (str): User to execute command as. Default: root
182182
detach (bool): If true, detach from the exec command.
183183
Default: False
184-
stream (bool): Stream response data. Default: False
184+
stream (bool): Stream response data. Ignored if ``detach`` is true.
185+
Default: False
185186
socket (bool): Return the connection socket to allow custom
186187
read/write operations. Default: False
187188
environment (dict or list): A dictionary or a list of strings in

0 commit comments

Comments
 (0)