Skip to main content
Version: 0.17.19

ExpectationValidationResult

class great_expectations.core.ExpectationValidationResult(success: Optional[bool] = None, expectation_config: Optional[ExpectationConfiguration] = None, result: Optional[dict] = None, meta: Optional[dict] = None, exception_info: Optional[dict] = None, rendered_content: Optional[RenderedAtomicContent] = None, **kwargs: dict)#

An Expectation validation result.

Parameters:
  • success – Whether the Expectation validation was successful.

  • expectation_config – The configuration of the Expectation that was validated.

  • result – The result details that can take one of many result formats.

  • meta – Metadata associated with the validation result.

  • exception_info – Any exception information that was raised during validation. Takes the form: raised_exception: boolean exception_traceback: Optional, str exception_message: Optional, str

  • rendered_content – Inline content for rendering.

Raises:

InvalidCacheValueError – Raised if the result does not pass validation.

to_json_dict() dict[str, JSONValues]#

Returns a JSON-serializable dict representation of this ExpectationValidationResult.

Returns:

A JSON-serializable dict representation of this ExpectationValidationResult.