IOPairStatus

class flexparameterize.validate.IOPairStatus(unit: str, variables: tuple[str, str], present: list[str], missing: list[str], non_null_counts: dict[str, int], min_rows: int)

Data coverage of one registered (input, output) variable pair.

unit

Name of the unit the pair belongs to (empty when check_sufficiency() was handed a bare registry, which has no owning block).

Type:

str

variables

The pair’s (input alias, output alias).

Type:

tuple[str, str]

present

Aliases of the pair found as data columns.

Type:

list[str]

missing

Aliases of the pair with no data column.

Type:

list[str]

non_null_counts

Non-null row count of each present column.

Type:

dict[str, int]

min_rows

Minimum non-null rows each present column must carry.

Type:

int

property sufficient: bool

True if nothing is missing and every column has enough rows.

Type:

bool