great_expectations.render.renderer.page_renderer

Module Contents

Classes

ValidationResultsPageRenderer(column_section_renderer=None, run_info_at_end: bool = False, data_context=None)

ExpectationSuitePageRenderer(column_section_renderer=None)

ProfilingResultsPageRenderer(overview_section_renderer=None, column_section_renderer=None)

great_expectations.render.renderer.page_renderer.logger
class great_expectations.render.renderer.page_renderer.ValidationResultsPageRenderer(column_section_renderer=None, run_info_at_end: bool = False, data_context=None)

Bases: great_expectations.render.renderer.renderer.Renderer

render_validation_operator_result(self, validation_operator_result: ValidationOperatorResult)

Render a ValidationOperatorResult which can have multiple ExpectationSuiteValidationResult

Parameters

validation_operator_result – ValidationOperatorResult

Returns

List[RenderedDocumentContent]

render(self, validation_results: ExpectationSuiteValidationResult, evaluation_parameters=None)
_parse_run_values(self, validation_results: ExpectationSuiteValidationResult)
_group_evrs_by_column(self, validation_results: ExpectationSuiteValidationResult, expectation_suite_name: str)
_generate_collapse_content_block(self, collapse_content_blocks: List[RenderedTableContent], validation_results: ExpectationSuiteValidationResult)
_collect_rendered_document_content_sections(self, validation_results: ExpectationSuiteValidationResult, overview_content_blocks: List[RenderedComponentContent], collapse_content_blocks: List[RenderedTableContent], columns: Dict[str, list])
_determine_page_title(self, run_name: str, run_time: str, data_asset_name: str, expectation_suite_name: str)
classmethod _get_meta_properties_notes(cls, suite_meta)

This method is used for fetching the custom meta to be added at the suite level “notes”: {

“content”: {

“dimension”: “properties.dimension”, “severity”: “properties.severity”

}, “format”: “renderer.diagnostic.meta_properties”

} expectation level {

“expectation_type”: “expect_column_values_to_not_be_null”, “kwargs”: {

“column”: “city”

}, “meta”: {

“attributes”: {
“properties”: {

“dimension”: “completeness”, “severity”: “P3”

}, “user_meta”: {

“notes”: “”

}

}

}

} This will fetch dimension and severity values which are in the expectation meta.

classmethod _render_validation_header(cls, validation_results)
classmethod _render_validation_info(cls, validation_results)
classmethod _render_nested_table_from_dict(cls, input_dict, header=None, sub_table=False)
classmethod _render_validation_statistics(cls, validation_results)
class great_expectations.render.renderer.page_renderer.ExpectationSuitePageRenderer(column_section_renderer=None)

Bases: great_expectations.render.renderer.renderer.Renderer

render(self, expectations)
_render_table_level_expectations(self, columns)
classmethod _render_expectation_suite_header(cls)
classmethod _render_expectation_suite_info(cls, expectations)
classmethod _render_expectation_suite_notes(cls, expectations)
class great_expectations.render.renderer.page_renderer.ProfilingResultsPageRenderer(overview_section_renderer=None, column_section_renderer=None)

Bases: great_expectations.render.renderer.renderer.Renderer

render(self, validation_results)