Improve readme
This commit is contained in:
parent
77497f70b3
commit
a0e7983a17
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue