great_expectations.render.renderer.suite_scaffold_notebook_renderer

Module Contents

Classes

SuiteScaffoldNotebookRenderer(context: DataContext, suite: ExpectationSuite, batch_kwargs)

Render a notebook that can re-create or edit a suite.

class great_expectations.render.renderer.suite_scaffold_notebook_renderer.SuiteScaffoldNotebookRenderer(context: DataContext, suite: ExpectationSuite, batch_kwargs)

Bases: great_expectations.render.renderer.suite_edit_notebook_renderer.SuiteEditNotebookRenderer

Render a notebook that can re-create or edit a suite.

Use cases: - Make an easy path to edit a suite that a Profiler created. - Make it easy to edit a suite where only JSON exists.

add_header(self)
_add_scaffold_column_list(self)
load_batch(self)
render(self, batch_kwargs=None, **kwargs)

Render a notebook dict from an expectation suite.

render_to_disk(self, notebook_file_path: str)

Render a notebook to disk from an expectation suite.

If batch_kwargs are passed they will override any found in suite citations.

_add_scaffold_cell(self)