Kaydet (Commit) 41c0eb7e authored tarafından Corentin Henry's avatar Corentin Henry

fix exec_start() documentation

Signed-off-by: 's avatarCorentin Henry <corentinhenry@gmail.com>
üst 76447d0c
...@@ -130,14 +130,14 @@ class ExecApiMixin(object): ...@@ -130,14 +130,14 @@ class ExecApiMixin(object):
stream (bool): Stream response data. Default: False stream (bool): Stream response data. Default: False
socket (bool): Return the connection socket to allow custom socket (bool): Return the connection socket to allow custom
read/write operations. read/write operations.
demux (bool): Separate return stdin, stdout and stderr separately demux (bool): Return stdout and stderr separately
Returns: Returns:
(generator or str or tuple): If ``stream=True``, a generator (generator or str or tuple): If ``stream=True``, a generator
yielding response chunks. If ``socket=True``, a socket object for yielding response chunks. If ``socket=True``, a socket object for
the connection. A string containing response data otherwise. If the connection. A string containing response data otherwise. If
``demux=True``, stdin, stdout and stderr are separated. ``demux=True``, stdout and stderr are separated.
Raises: Raises:
:py:class:`docker.errors.APIError` :py:class:`docker.errors.APIError`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment