exporter.apply_projection()
Apply one or more projection steps, returning the final projection result.
Usage
exporter.apply_projection(
graph,
projections,
*,
validate=False,
)Steps are applied in order, each projecting the previous step’s projected graph. A single step’s manifest is returned as-is; multiple steps are folded into a CompositeProjectionManifest carrying the chained forwarding map and every component manifest. Heterogeneous step kinds are supported.
Parameters
graph: DependencyGraph-
Canonical graph to project.
projections: Iterable[ProjectionStep]-
Ordered projection steps.
validate: bool = False- When True, run ProjectionResult.validate on the result. Default False so composition does not change set_node_formula semantics.
Raises
GraphConsistencyError- If validate is True and the projected graph is inconsistent.