Skip to main content

series_bindings.validate_bindings_workbook()

Load bindings, build the graph, and validate against the workbook.

Usage

Source

series_bindings.validate_bindings_workbook(
    workbook,
    bindings_path,
    *,
    dynamic_refs=None,
    use_cached_dynamic_refs=True,
    blank_ranges=None,
    targets_from="all"
)

Parameters

workbook: Path

Path to the .xlsx workbook.

bindings_path: Path

Binding sidecar file or shard directory.

dynamic_refs: DynamicRefConfig | None = None

Constraint-based OFFSET/INDEX/INDIRECT config. Ignored when use_cached_dynamic_refs is True.

use_cached_dynamic_refs: bool = True

Resolve dynamic refs from cached workbook values. Default True preserves the previous library behavior.

blank_ranges: Sequence[str] | None = None

Sheet-qualified rectangles omitted from the graph.

targets_from: TargetsFrom = "all"
"all" roots the graph at every series data_range; "outputs" roots it only at output series, matching a pipeline that extracts from output_series_targets.