Rewire a Node’s Dependencies
Reroutes a node’s declared dependencies. The replace
argument is a named list (or Dict) mapping old dependency names to new
ones. Only the named node’s dependency list is updated.
p (Pipeline): The
pipeline.
name (String): The name of the node
whose deps should change.
replace (List[String]): A named
list mapping old dep names to new ones.
A new pipeline with updated dependency edges.
p |> rewire("model_py", replace = list(data = "data_v2"))