Improve readme

This commit is contained in:
Pablo Martin 2023-02-02 17:23:15 +01:00
parent 77497f70b3
commit a0e7983a17

View file

@ -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