code: def pull(self, platform=None):
          
          repository, _ = parse_repository_tag(self.image_name)
          return self.collection.pull(repository, tag=self.id, platform=platform)
docs: Pull the image digest.
  
          Args:
              platform (str): The platform to pull the image for.
              Default: ``None``
  
          Returns:
              (:py:class:`Image`): A reference to the pulled image.