ValidationAction
class great_expectations.checkpoint.ValidationAction(*, type: str, name: str)#
Actions define a set of steps to run after a Validation Result is produced. Subclass ValidationAction to create a custom Action.
Through a Checkpoint, one can orchestrate the validation of data and configure notifications, data documentation updates, and other actions to take place after the Validation Result is produced.
run(checkpoint_result: CheckpointResult, action_context: ActionContext | None = None) dict #
Run the action.
- Parameters
checkpoint_result – The result of the checkpoint run.
action_context – The context in which the action is run.
- Returns
A dictionary containing the result of the action.