diff options
| author | Frank Sachsenheim <funkyfuture@riseup.net> | 2018-11-27 01:06:02 +0100 |
|---|---|---|
| committer | Frank Sachsenheim <funkyfuture@riseup.net> | 2018-11-27 01:06:02 +0100 |
| commit | 3fca75ffef3513a0ab8243c3d688b1dff384fd2e (patch) | |
| tree | 0cfa34a018516bea0f29d053f95de3feecbe3b89 | |
| parent | f7a1052b2ba5b5ac308a9ab5c218057ab569a204 (diff) | |
| download | docker-py-3fca75ffef3513a0ab8243c3d688b1dff384fd2e.tar.gz | |
Fixes return value models.containers.Container.exec_run.__doc__
Signed-off-by: Frank Sachsenheim <funkyfuture@riseup.net>
| -rw-r--r-- | docker/models/containers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/models/containers.py b/docker/models/containers.py index 9d6f2cc..34996ce 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -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` |
