Skip to main content
Version: 1.2.4

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: Union[RenderedAtomicContent, List[RenderedAtomicContent], None] = 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.

describe() str#

JSON string description of this ExpectationValidationResult

to_json_dict() dict[str, typing.Union[typing.Dict[str, typing.Union[typing.Dict[str, ForwardRef('JSONValues')], typing.List[ForwardRef('JSONValues')], str, int, float, bool, NoneType]], typing.List[typing.Union[typing.Dict[str, ForwardRef('JSONValues')], typing.List[ForwardRef('JSONValues')], str, int, float, bool, NoneType]], str, int, float, bool, NoneType]]#

Returns a JSON-serializable dict representation of this ExpectationValidationResult.

Returns

A JSON-serializable dict representation of this ExpectationValidationResult.