Hi Prefectionists!
We’re excited to announce the release of a new Prefect Collection: prefect-great-expectations
!
With prefect-great-expectations
, you can now run Great Expectations validations in your Prefect 2.0 flows with ease!
To get started, install prefect-great-expectations
:
pip install prefect-great-expectations
Then use the run_checkpoint_validation
task to run a Great Expectations validation with an existing checkpoint:
from prefect import flow
from prefect_great_expectations import run_checkpoint_validation
@flow
def validation_flow():
run_checkpoint_validation(checkpoint_name="my_checkpoint")
validation_flow()
For more info, you can read the docs or take a gander at the code. To learn more about Great Expectations, you can check out the getting started guide in the Great Expectations docs.
Happy Engineering!
Docs
https://prefecthq.github.io/prefect-great-expectations/