# ExpectationConfiguration expectation\_type snake\_case or PascalCase for GX Core 1.0?

**URL:** <https://discourse.greatexpectations.io/t/expectationconfiguration-expectation-type-snake-case-or-pascalcase-for-gx-core-1-0/1887>\
**Category:** GX Core Support\
**Created:** [September 6, 2024, 11:12am UTC](https://discourse.greatexpectations.io/t/expectationconfiguration-expectation-type-snake-case-or-pascalcase-for-gx-core-1-0/1887 "2024-09-06T11:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akseli](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@akseli](https://discourse.greatexpectations.io/u/akseli)\
**Post date:** [September 6, 2024, 11:12am UTC](https://discourse.greatexpectations.io/t/expectationconfiguration-expectation-type-snake-case-or-pascalcase-for-gx-core-1-0/1887/1 "2024-09-06T11:12:37Z")

</div>

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
