How can I add a check group to data expectations

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’),
],

Hi Uli,
Unfortunately, data expectations cannot be added to a specific check group from the code. It can only be done either from the health tab of the dataset, or from the check group itself.
Let me know if you have any further questions to this topic.
Best,
Alfons