Skip to main content
Version: 1.3.0

CheckpointFactory

class great_expectations.core.factory.CheckpointFactory(store: CheckpointStore)#
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

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.