def __init__(self, node, exts=None):
        """
        Args:
            node: The task or the worfklow associated to the dependency or string with a filepath.
            exts: Extensions of the output files that are needed for running the other tasks.
        """
        self._node = Node.as_node(node)

        if exts and is_string(exts): exts = exts.split()

        # Extract extensions.
        self.exts = [e for e in exts if not e.startswith("@")]

        # Save getters
        self.getters = [e for e in exts if e.startswith("@")]
def __init__ ( self , node , exts = None ) : self . _node = Node . as_node ( node ) if exts and is_string ( exts ) : exts = exts . split ( ) self . exts = [ e for e in exts if not e . startswith ( "@" ) ] self . getters = [ e for e in exts if e . startswith ( "@" ) ]
Args:
            node: The task or the worfklow associated to the dependency or string with a filepath.
            exts: Extensions of the output files that are needed for running the other tasks.