api: update return type of `diff` method (#3115)

Signed-off-by: John Yang <john.yang20@berkeley.edu>
This commit is contained in:
John Yang 2023-05-05 13:21:46 -07:00 committed by GitHub
parent 3178c8d48b
commit 576e47aaac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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`

View File

@ -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`