I am evaluating Great Expectations to do some Data Cleaning.
I have managed to get most of code working for our needs. I am having a problem with the Attribute needed to code for unsuccessful results. For example, the following code will print "Successful" if the 'validation_results' are success
if validation_results["success"]:
print ("Successful")
But I don't know what attribute to use for failed results.
I have tried the following:
if validation_results["failure"]:
print ("Failed")
if validation_results["unsuccessful"]:
print ("Failed")
if validation_results["false"]:
print ("Failed")
But I get the error message: object has no attribute for each of the failure attempts above.
Does anyone know what attribute will give me a failure output?