code: def get_predecessors(self, transitive=False):
          
          result = self._predecessors
          if transitive:
              return YagocdUtil.graph_depth_walk(result, lambda v: v.predecessors)
          return result
docs: Property for getting predecessors (parents) of current pipeline.
          This property automatically populates from API call
  
          :return: list of :class:`yagocd.resources.pipeline.PipelineEntity`.
          :rtype: list of yagocd.resources.pipeline.PipelineEntity