Skip to content

Commit 6bbf741

Browse files
authored
fixing doc for stream param in exec_run
Signed-off-by: yasonk <[email protected]>
1 parent a365202 commit 6bbf741

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/models/containers.py

Lines changed: 2 additions & 1 deletion
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)