How to create a new Checkpoint

This guide will help you create a new Checkpoint, which allows you to couple an Expectation Suite with a data set and quickly run a validation.

Prerequisites: This how-to guide assumes you have already:

Steps

  1. First, run the CLI command below.

great_expectations checkpoint new my_checkpoint my_suite
  1. Next, you will be prompted to select a data asset you want to couple with the Expectation Suite.

  2. You will then see a message that indicates the checkpoint has been added to your project.

A checkpoint named `my_checkpoint` was added to your project!
- To edit this checkpoint edit the checkpoint file: /home/ubuntu/my_project/great_expectations/checkpoints/my_checkpoint.yml
- To run this checkpoint run `great_expectations checkpoint run my_checkpoint`