great_expectations.cli.checkpoint

Module Contents

Functions

checkpoint()

Checkpoint operations

checkpoint_new(checkpoint, suite, directory, datasource)

Create a new checkpoint for easy deployments. (Experimental)

_verify_checkpoint_does_not_exist(context: DataContext, checkpoint: str, usage_event: str)

_write_checkpoint_to_disk(context: DataContext, checkpoint: dict, checkpoint_name: str)

_load_checkpoint_yml_template()

checkpoint_list(directory)

List configured checkpoints. (Experimental)

checkpoint_run(checkpoint, directory)

Run a checkpoint. (Experimental)

checkpoint_script(checkpoint, directory)

Create a python script to run a checkpoint. (Experimental)

_validate_at_least_one_suite_is_listed(context: DataContext, batch: dict, checkpoint_file: str)

_load_script_template()

_write_checkpoint_script_to_disk(context_directory: str, checkpoint_name: str, script_path: str)

great_expectations.cli.checkpoint.SQLAlchemyError
great_expectations.cli.checkpoint.SQLAlchemyError
great_expectations.cli.checkpoint.yaml
great_expectations.cli.checkpoint.checkpoint()

Checkpoint operations

A checkpoint is a bundle of one or more batches of data with one or more Expectation Suites.

A checkpoint can be as simple as one batch of data paired with one Expectation Suite.

A checkpoint can be as complex as many batches of data across different datasources paired with one or more Expectation Suites each.

great_expectations.cli.checkpoint.checkpoint_new(checkpoint, suite, directory, datasource)

Create a new checkpoint for easy deployments. (Experimental)

great_expectations.cli.checkpoint._verify_checkpoint_does_not_exist(context: DataContext, checkpoint: str, usage_event: str) → None
great_expectations.cli.checkpoint._write_checkpoint_to_disk(context: DataContext, checkpoint: dict, checkpoint_name: str) → str
great_expectations.cli.checkpoint._load_checkpoint_yml_template() → dict
great_expectations.cli.checkpoint.checkpoint_list(directory)

List configured checkpoints. (Experimental)

great_expectations.cli.checkpoint.checkpoint_run(checkpoint, directory)

Run a checkpoint. (Experimental)

great_expectations.cli.checkpoint.checkpoint_script(checkpoint, directory)

Create a python script to run a checkpoint. (Experimental)

Checkpoints can be run directly without this script using the great_expectations checkpoint run command.

This script is provided for those who wish to run checkpoints via python.

great_expectations.cli.checkpoint._validate_at_least_one_suite_is_listed(context: DataContext, batch: dict, checkpoint_file: str) → None
great_expectations.cli.checkpoint._load_script_template() → str
great_expectations.cli.checkpoint._write_checkpoint_script_to_disk(context_directory: str, checkpoint_name: str, script_path: str) → None