series_bindings.suggest_validation_domains()
Report the domain each validated cell’s data validation implies.
Usage
series_bindings.suggest_validation_domains(
workbook, addresses=None, *, max_cells=DEFAULT_MAX_RANGE_CELLS
)Parameters
workbook: Path | str-
Workbook to read.
addresses: Iterable[str] | None = None-
Restrict the report to these cells (any quoting /
$spelling). Cells without a validation are absent.Nonereports every validated cell on every sheet. max_cells: int = DEFAULT_MAX_RANGE_CELLS-
Upper bound on cells expanded from all
sqrefs whenaddressesisNone.
Returns
tuple[ValidationDomainSuggestion, …]- Suggestions ordered by sheet, row, column, then rule.
Raises
ValueError-
addressesisNoneand validations cover more thanmax_cellscells.