code: def history(self, offset=0):
          
          return self._pipeline.history(name=self.data.name, offset=offset)
docs: The pipeline history allows users to list pipeline instances.
  
          :param offset: number of pipeline instances to be skipped.
          :return: an array of pipeline instances :class:`yagocd.resources.pipeline.PipelineInstance`.
          :rtype: list of yagocd.resources.pipeline.PipelineInstance