'Show the history of an image.
Returns:
(str): The history of the image.
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

def history(self):

    return self.client.api.history(self.id)
