Skip to content




Prefect Collection containing integrations for interacting with Great Expectations

Getting Started

Python setup

Requires an installation of Python 3.7+.

We recommend using a Python virtual environment manager such as pipenv, conda or virtualenv.

These tasks are designed to work with Prefect 2.0. For more information about how to use Prefect, please refer to the Prefect documentation.


Install prefect-great-expectations with pip:

pip install prefect-great-expectations

Then, register to view the block on Prefect Cloud:

prefect block register -m prefect_great_expectations.credentials

Note, to use the load method on Blocks, you must already have a block document saved through code or saved through the UI.

Write and run a flow

from prefect import flow
from prefect_great_expectations import run_checkpoint_validation

def example_flow():



If you encounter any bugs while using prefect-great-expectations, feel free to open an issue in the prefect-great-expectations repository.

If you have any questions or issues while using prefect-great-expectations, you can find help in either the Prefect Discourse forum or the Prefect Slack community.

Feel free to ⭐️ or watch prefect-great-expectations for updates too!


If you'd like to install a version of prefect-great-expectations for development, clone the repository and perform an editable install with pip:

git clone

cd prefect-great-expectations/

pip install -e ".[dev]"

# Install linting pre-commit hooks
pre-commit install