exporter.BaseProjectionManifest

General, serializable projection manifest for node-collapsing projections.

Usage

Source

exporter.BaseProjectionManifest()

Directly usable by any projection that removes nodes and (optionally) maps value-equivalent removed addresses to retained computations; custom projections may also subclass to add kind-specific fields. Register from_dict under the manifest kind via register_projection_manifest to enable deserialization.

Parameter Attributes

kind: str
forwarding_map: dict[str, str]
retained_to_collapsed_sources: dict[str, tuple[str, …]]
removed_node_snapshots: dict[str, ProjectedNodeSnapshot]
formula_rewrites: tuple[FormulaRewrite, …]
collapsed_groups: tuple[CollapsedGroup, …]

Methods

Name Description
empty() Return an empty manifest tagged with kind.
map_to_projected() Return the projected computation address for a workbook address.

empty()

Return an empty manifest tagged with kind.

Usage

Source

empty(kind)

map_to_projected()

Return the projected computation address for a workbook address.

Usage

Source

map_to_projected(address)