add_expectation
Add a data-quality expectation to an existing suite or create a new one, specifying the expectation type and parameters like column and value set.
Instructions
Add a single expectation to an existing suite (or create it).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kwargs | Yes | Parameters for the expectation (e.g., {"column": "status", "value_set": ["active", "inactive"]}) | |
| suite_name | Yes | Name of the expectation suite | |
| expectation_type | Yes | Type of expectation (e.g., "expect_column_values_to_be_in_set") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |