I’m trying to define data expectations in my code repository and I want to add a check group to organize my checks and to inform my developers when some expectations do not met.
Can someone guide me on how to add a check group in my source code to data expectations?
Of course I know how to add a check group by clicking a Data Health Check, however, I want to add the check group in my source code to my data expectation. Something like:
checks=[
Check(expect_valid_date,
‘valid date’,
on_error=‘WARN’,
checkgroup=‘Data Engineering’),
],