def addChain(self, pEdgeChain, pEndStatusList=[DONE]):
        if not isinstance(pEndStatusList, (list, tuple)):
            raise ConnectionError("Invalid end status given, it must be a \
                list of statuses.")

        if not isinstance(pEdgeChain, (list, tuple)):
            raise ConnectionError("Invalid edge chain given, it must be a \
                list of Task or TaskGroup.")

        # Loop over list by pair
        for (srcNode, destNode) in zip(pEdgeChain[:-1], pEdgeChain[1:]):
            print ("Add dependency: %r -> %r with status in %r"
                   % (srcNode, destNode, pEndStatusList))
            destNode.dependencies[srcNode] = pEndStatusList
        return True
| Create edges to the current graph.
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/puliclient/__init__.py/Graph.addChain