Name | Value |
---|---|
Type | row-error |
Title | Row Error |
Description | Row Error |
Template | Row Error |
Tags | #table #row |
Name | Value |
---|---|
Type | blank-row |
Title | Blank Row |
Description | This row is empty. A row should contain at least one value. |
Template | Row at position "{rowNumber}" is completely blank |
Tags | #table #row |
Name | Value |
---|---|
Type | primary-key |
Title | PrimaryKey Error |
Description | Values in the primary key fields should be unique for every row |
Template | Row at position "{rowNumber}" violates the primary key: {note} |
Tags | #table #row |
Name | Value |
---|---|
Type | foreign-key |
Title | ForeignKey Error |
Description | Values in the foreign key fields should exist in the reference table |
Template | Row at position "{rowNumber}" violates the foreign key: {note} |
Tags | #table #row |
Name | Value |
---|---|
Type | duplicate-row |
Title | Duplicate Row |
Description | The row is duplicated. |
Template | Row at position {rowNumber} is duplicated: {note} |
Tags | #table #row |
Name | Value |
---|---|
Type | row-constraint |
Title | Row Constraint |
Description | The value does not conform to the row constraint. |
Template | The row at position {rowNumber} has an error: {note} |
Tags | #table #row |
Row error representation. A base class for all the errors related to a row of the tabular data.
(*, note: str, cells: List[str], row_number: int) -> None
Values of all the cells in the row that has an error.
List[str]
Index of the row that has an error.
int
Create an error from a row
(row: Row, *, note: str)
Row error representation. A base class for all the errors related to a row of the tabular data.
(*, note: str, cells: List[str], row_number: int, field_names: List[str], field_cells: List[str], reference_name: str, reference_field_names: List[str]) -> None
Keys in the resource target column.
List[str]
Cells not found in the lookup table.
List[str]
Name of the lookup table the keys were searched on
str
Key names in the lookup table defined as foreign keys in the resource.
List[str]
Create an foreign-key-error from a row
(row: Row, *, note: str, field_names: List[str], field_values: List[Any], reference_name: str, reference_field_names: List[str])