'Export the contents of the container\'s filesystem as a tar archive.
Returns:
(str): The filesystem tar archive
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

def export(self):

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