Mutate Pipeline Node Metadata
Modifies metadata fields on pipeline nodes. Supports a
where named argument to scope changes to a subset of nodes.
Without where, all nodes are affected. Mutable metadata
fields: noop (Bool), serializer (String),
deserializer (String), runtime (String). The
where clause uses NSE ($field) just like
filter_node.
p (Pipeline): The pipeline to
modify.
… (KeywordArgs): Metadata
assignments as $field = value pairs.
where (Function): (Optional)
Predicate scoping which nodes are updated.
A new pipeline with updated node metadata.
p |> mutate_node($noop = true)
p |> mutate_node($serializer = "pmml", where = $runtime == "R")