diff --git a/README.md b/README.md index 0a6bd5b..0486671 100644 --- a/README.md +++ b/README.md @@ -131,12 +131,15 @@ with Flow(...) as flow: my_query = """SELECT something FROM somewhere""" my_expectations = {...} # A bunch of things you want to validate on the result of the query - validation_results = run_validation_on_mysql( + validation_results = run_data_test_on_mysql( name="my-cool-validation", mysql_credentials={...}, query=my_query, expectations=my_expectations ) + + if not validation_results["success"]: + print("The data is bad!!!") ``` ### Slack