docs: change image.history() return type to list (#3076)

Signed-off-by: Khushiyant <khushiyant2002@gmail.com>
This commit is contained in:
Khushiyant 2023-12-17 21:39:12 +05:30
parent 7d8a161b12
commit 94a7f3e505
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class ImageApiMixin:
image (str): The image to show history for
Returns:
(str): The history of the image
(list): The history of the image
Raises:
:py:class:`docker.errors.APIError`

View File

@ -51,7 +51,7 @@ class Image(Model):
Show the history of an image.
Returns:
(str): The history of the image.
(list): The history of the image.
Raises:
:py:class:`docker.errors.APIError`