Skip to main content

series_bindings.output_series_targets()

Expand only output series data_ranges into graph target addresses.

Usage

Source

series_bindings.output_series_targets(
    bindings,
    *,
    workbook,
    extra_targets=(),
)

Use this instead of a hand-maintained target list: output data_ranges are authored from workbook structure, so the intended order is author outputs, derive targets, extract the graph, then author and validate inputs / internals / constants against that graph.

Applies exclude_rows / exclude_columns, so output holes are the single place to skip cells inside a block. Output series over blank or literal cells stay in the set; they become graph leaves.

Parameters

bindings: WorkbookSeriesBindings

Loaded bindings document.

workbook: Path

Path to the .xlsx workbook (resolves named ranges).

extra_targets: Iterable[str] = ()
Additional roots to union with the derived set.

Returns

list[str]

Sorted, de-duplicated sheet-qualified addresses. Hash the result with

target_set_sha256 for a graph cache key that ignores non-output edits.