How to delete an Expectation Suite?

I’m using GX Core 1.3.10.

I created an Expectation Suite by mistake. How do I delete it?

I am using FileDataContext and the project root directory has information of many other Expectations, Data Sources/Assets/Batches, Validations, Checkpoints, etc. How do I safely remove this one expectation suite? I’m afraid to delete the json directly in the GX folder because I dont know where it would have an impact with other items like validation definitions. Please help! Thanks!

Hey @sha9189, you can delete an Expectation Suite by calling context.suites.delete(name="suite name"). Here’s a link to the API reference: SuiteFactory | Great Expectations.

1 Like