ExpectationConfiguration expectation_type snake_case or PascalCase for GX Core 1.0?

Hi dear GX community,

I’m working on a PoC for my company for a new DQ tool and we’re testing GX as a solution for it. I understood that many things have changed very recently and there are a lot of WIP going on currently, but I have a specific question I have to answer to our architect rather soon: “How to configure and add expectations to a suite on the fly”

I found an examples like this:

import great_expectations as gx

context.gx.get_context()

suite = context.suites.add(gx.ExpectationSuite(name="my_suite))

expectation_configuration = ExpectationConfiguration(
expectation_type=“expect_column_values_to_not_be_null”,
kwargs={
“column”: “column_name”
}
)

suite.add_expectation(expectation_configuration)

But is seems that this is not compatible with GX Core 1.0 as ExpectationConfiguration cannot be found in any available modules. Also, in the gallery there isn’t such expectation as expect_column_values_to_not_be_null , instead there is ExpectColumnValuesToNotBeNull

So, what is the new way to add expectations to the suite on the fly and what is the way to define expectation_type?

Tanks a lot in advance!

Best regards,

Akseli