How to remove expectations from Python code

I’m told the method remove_expectations is currently not working, so I was wondering what is the correct way to remove an expectation from Python. I like to create basic suites with the profiler and then edit them, so removing expectations is a basic operation. Should I instead edit the JSON ?



Lorenzo, after looking at this question again, let me adjust the answer. The remove_expectation should work. If it did not work for you, please file a GitHub issue and specify the version of Great Expectations that you are using and detailed steps to reproduce:
If you can include the JSON file of the Expectation Suite, this will be very helpful too. Thank you!