diff options
author | John Yang <byjohnyang@gmail.com> | 2023-05-05 13:21:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 16:21:46 -0400 |
commit | 576e47aaacf690a3fdd6cf98c345d48ecf834b7d (patch) | |
tree | 386340a01fa62b15fd206c0a1a7dcaee34044dc8 | |
parent | 3178c8d48b7e7414d1f864ba1fe77139f4e923eb (diff) | |
download | docker-py-576e47aaacf690a3fdd6cf98c345d48ecf834b7d.tar.gz |
api: update return type of `diff` method (#3115)
Signed-off-by: John Yang <john.yang20@berkeley.edu>
-rw-r--r-- | docker/api/container.py | 3 | ||||
-rw-r--r-- | docker/models/containers.py | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docker/api/container.py b/docker/api/container.py index 9a25b21..fef7603 100644 --- a/docker/api/container.py +++ b/docker/api/container.py @@ -678,7 +678,8 @@ class ContainerApiMixin: container (str): The container to diff Returns: - (str) + (list) A list of dictionaries containing the attributes `Path` + and `Kind`. Raises: :py:class:`docker.errors.APIError` diff --git a/docker/models/containers.py b/docker/models/containers.py index f451cf3..2eeefda 100644 --- a/docker/models/containers.py +++ b/docker/models/containers.py @@ -141,7 +141,8 @@ class Container(Model): Inspect changes on a container's filesystem. Returns: - (str) + (list) A list of dictionaries containing the attributes `Path` + and `Kind`. Raises: :py:class:`docker.errors.APIError` |