Skip to main content
Version: 1.3.2

CheckpointFactory

class great_expectations.core.factory.CheckpointFactory(store: CheckpointStore)#

Responsible for basic CRUD operations on a Data Context’s Checkpoints.

Methods

add(checkpoint: great_expectations.checkpoint.checkpoint.Checkpoint) great_expectations.checkpoint.checkpoint.Checkpoint#

Add a Checkpoint to the collection.

Parameters

checkpoint – Checkpoint to add

Raises

DataContextError if Checkpoint already exists

add_or_update(checkpoint: great_expectations.checkpoint.checkpoint.Checkpoint) great_expectations.checkpoint.checkpoint.Checkpoint#

Add or update a Checkpoint by name.

If a Checkpoint with the same name exists, overwrite it, otherwise create a new Checkpoint.

Parameters

checkpoint – Checkpoint to add or update

all() Iterable[great_expectations.checkpoint.checkpoint.Checkpoint]#

Get all Checkpoints.

delete(name: str) None#

Delete a Checkpoint from the collection.

Parameters

name – The name of the Checkpoint to delete

Raises

DataContextError if Checkpoint doesn't exist

get(name: str) great_expectations.checkpoint.checkpoint.Checkpoint#

Get a Checkpoint from the collection by name.

Parameters

name – Name of Checkpoint to get

Raises

DataContextError when Checkpoint is not found.