Skip to main content
Version: 1.3.12

ValidationAction

Signature

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.

Methods

run

Signature

run(
checkpoint_result: CheckpointResult,
action_context: ActionContext | None = None
)dict

Run the action.

Parameters

NameDescription

checkpoint_result

The result of the checkpoint run.

action_context

The context in which the action is run.

Returns

TypeDescription

dict

A dictionary containing the result of the action.