Skip to main content

series_bindings.bound_label_addresses()

Return label, header, and kind: cell source cells used by bindings.

Usage

Source

series_bindings.bound_label_addresses(
    bindings,
    *,
    workbook,
    graph=None,
)

Includes dimension and attribute binds (row_label, column_header, and cell). Fill walks contribute only the cell that actually supplied the label, not empty candidates. Blank sources are omitted. Formula headers are included even when Excel has no cached value (the formula text is the source).

Parameters

bindings: WorkbookSeriesBindings

Workbook series sidecar (post-schema validation).

workbook: Path | str

Workbook the sidecar describes.

graph: GraphReadView | None = None
Optional read view consulted before the workbook. Formula nodes and non-blank leaves count as present label sources.

Returns

set[str]
Canonical sheet-qualified addresses of bound label sources.