Dynamic Columns to apply expectations

I’ve managed to configure and create my expectation suite, now that I added all the expectations I want to have, is it possible that the column to check is parametrized from a metadata file in which I specify for each dataset which column to check f.e.

Data_Asset: Customers
Check_for_nulls: [‘ID’, ‘Name’]

I personally wrote custom code for handling this
Something like the code below:

check_for_nulls = ["ID", "Name"]
for col in check_for_nulls:
1 Like