great_expectations.cli.checkpoint

Module Contents

Functions

checkpoint(ctx: click.Context)

Checkpoint operations

checkpoint_new(ctx: click.Context, name: str, jupyter: bool)

Create a new Checkpoint for easy deployments.

_checkpoint_new(ctx: click.Context, checkpoint_name: str, jupyter: bool)

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

_get_notebook_path(context: DataContext, notebook_name: str)

checkpoint_list(ctx: click.Context)

List configured checkpoints.

checkpoint_delete(ctx: click.Context, checkpoint: str)

Delete a Checkpoint.

checkpoint_run(ctx: click.Context, checkpoint: str)

Run a Checkpoint.

print_validation_operator_results_details(result: CheckpointResult)

checkpoint_script(ctx: click.Context, checkpoint: str)

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.checkpoint(ctx: click.Context) → None

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: click.Context, name: str, jupyter: bool) → None

Create a new Checkpoint for easy deployments.

NAME is the name of the Checkpoint to create.

great_expectations.cli.checkpoint._checkpoint_new(ctx: click.Context, checkpoint_name: str, jupyter: bool) → None
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: DataContext, notebook_name: str) → str
great_expectations.cli.checkpoint.checkpoint_list(ctx: click.Context) → None

List configured checkpoints.

great_expectations.cli.checkpoint.checkpoint_delete(ctx: click.Context, checkpoint: str) → None

Delete a Checkpoint.

great_expectations.cli.checkpoint.checkpoint_run(ctx: click.Context, checkpoint: str) → None

Run a Checkpoint.

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

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