great_expectations.cli.checkpoint

Module Contents

Functions

checkpoint(ctx)

Checkpoint operations

checkpoint_new(ctx, name, jupyter)

Create a new Checkpoint for easy deployments.

_checkpoint_new(ctx, checkpoint_name, jupyter)

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

_get_notebook_path(context, notebook_name)

checkpoint_list(ctx)

List configured checkpoints.

checkpoint_delete(ctx, checkpoint)

Delete a Checkpoint.

checkpoint_run(ctx, checkpoint)

Run a Checkpoint.

print_validation_operator_results_details(result: CheckpointResult)

checkpoint_script(ctx, checkpoint)

Create a python script to run a Checkpoint.

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

_load_script_template()

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

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(ctx, name, jupyter)

Create a new Checkpoint for easy deployments.

NAME is the name of the Checkpoint to create.

great_expectations.cli.checkpoint._checkpoint_new(ctx, checkpoint_name, jupyter)
great_expectations.cli.checkpoint._verify_checkpoint_does_not_exist(context: DataContext, checkpoint_name: str, usage_event: str) → None
great_expectations.cli.checkpoint._get_notebook_path(context, notebook_name)
great_expectations.cli.checkpoint.checkpoint_list(ctx)

List configured checkpoints.

great_expectations.cli.checkpoint.checkpoint_delete(ctx, checkpoint)

Delete a Checkpoint.

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

Run a Checkpoint.

great_expectations.cli.checkpoint.print_validation_operator_results_details(result: CheckpointResult) → None
great_expectations.cli.checkpoint.checkpoint_script(ctx, checkpoint)

Create a python script to run a Checkpoint.

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._write_checkpoint_script_to_disk(context_directory: str, checkpoint_name: str, script_path: str) → None
great_expectations.cli.checkpoint._load_script_template() → str