Unverified Kaydet (Commit) 3fca75ff authored tarafından Frank Sachsenheim's avatar Frank Sachsenheim

Fixes return value models.containers.Container.exec_run.__doc__

Signed-off-by: 's avatarFrank Sachsenheim <funkyfuture@riseup.net>
üst f7a1052b
......@@ -172,10 +172,10 @@ class Container(Model):
exit_code: (int):
Exit code for the executed command or ``None`` if
either ``stream```or ``socket`` is ``True``.
output: (generator or str):
output: (generator or bytes):
If ``stream=True``, a generator yielding response chunks.
If ``socket=True``, a socket object for the connection.
A string containing response data otherwise.
A bytestring containing response data otherwise.
Raises:
: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