ExpectationValidationResult
An Expectation validation result.
Parameters
Name Description 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
Type Description InvalidCacheValueError
Raised if the result does not pass validation.
JSON string description of this ExpectationValidationResult
Returns a JSON-serializable dict representation of this ExpectationValidationResult.
Returns
Type Description 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]]
A JSON-serializable dict representation of this 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
)
Methods
describe
describe() → str
to_json_dict
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]]