Skip to main content

series_bindings.ValidationDomainSuggestion

One validated cell and the series domain its rule implies, if any.

Usage

Source

series_bindings.ValidationDomainSuggestion(
    address, rule_id, status, domain, allow_blank, validation, reason=None
)

Parameter Attributes

address: str
rule_id: str
status: SuggestionStatus
domain: dict[str, Any] | None
allow_blank: bool
validation: DataValidationRule
reason: UnsupportedReason | None = None

Attributes

address: str

normalize_cell_type_env_key of the cell (Sheet!A1).

rule_id: str

Sheet#index of the rule; cells sharing one sqref share it.

status: SuggestionStatus

domain when domain is set, else unsupported.

domain: dict[str, Any] | None

enum / between / real_between mapping, or None.

allow_blank: bool

Excel allowBlank; recorded, not folded into domain.

validation: DataValidationRule

The rule as stored.

reason: UnsupportedReason | None
Why the rule is unsupported, else None.