Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.Advanced TutorialsBuild end-to-end workflows between two specific systems.API ReferenceCLI ReferenceRelease Notes
Version: 2.0.2

Enrich

class
class Enrich(
to_table: TableNameSpec | None = None,
tags: TagsSpec | None = field(default=None, kw_only=True),
)

Bases: TagOperator

Categories: dq-operator

An operator that appends each classifier's verdict column to the target table. No rows are removed.

Examples​

Enrich()

Write the enriched rows to another table instead of adding the verdict columns in place:

Enrich(to_table="checked_enriched")

Parameters​

parameter
to_tableTableNameSpec | None (str | None)

Table to write the enriched rows to; a valid table name. If None (default), the target table is enriched in place.

parameter
tagsTagsSpec | None (list[str] | None)

Optional list of tags; only classifiers carrying a matching tag are applied.

Methods​

method
to_dict
def to_dict() -> dict[str, Any]

method
to_json
def to_json(indent: int | None = None) -> str

Parameters:

parameter
indentint | None

method
from_dict
def from_dict(d: dict[str, Any]) -> Any

Parameters:

parameter

method
from_json
def from_json(s: str | bytes) -> Any

Parameters:

parameter