great_expectations.cli.v012.suite

Module Contents

Functions

suite()

Expectation Suite operations

suite_edit(suite, datasource, directory, jupyter, batch_kwargs)

Generate a Jupyter notebook for editing an existing Expectation Suite.

_suite_edit(suite, datasource, directory, jupyter, batch_kwargs, usage_event, suppress_usage_message=False)

suite_demo(suite, directory, view)

Create a new demo Expectation Suite.

suite_new(suite, directory, jupyter, batch_kwargs)

Create a new empty Expectation Suite.

_suite_new(suite: str, directory: str, empty: bool, jupyter: bool, view: bool, batch_kwargs, usage_event: str)

suite_delete(suite, directory)

Delete an expectation suite from the expectation store.

suite_scaffold(suite, directory, jupyter)

Scaffold a new Expectation Suite.

_suite_scaffold(suite: str, directory: str, jupyter: bool)

suite_list(directory)

Lists available Expectation Suites.

_get_notebook_path(context, notebook_name)

great_expectations.cli.v012.suite.json_parse_exception
great_expectations.cli.v012.suite.SQLAlchemyError
great_expectations.cli.v012.suite.suite() → None

Expectation Suite operations

great_expectations.cli.v012.suite.suite_edit(suite, datasource, directory, jupyter, batch_kwargs) → None

Generate a Jupyter notebook for editing an existing Expectation Suite.

The SUITE argument is required. This is the name you gave to the suite when you created it.

A batch of data is required to edit the suite, which is used as a sample.

The edit command will help you specify a batch interactively. Or you can specify them manually by providing –batch-kwargs in valid JSON format.

Read more about specifying batches of data in the documentation: https://docs.greatexpectations.io/

great_expectations.cli.v012.suite._suite_edit(suite, datasource, directory, jupyter, batch_kwargs, usage_event, suppress_usage_message=False) → None
great_expectations.cli.v012.suite.suite_demo(suite, directory, view) → None

Create a new demo Expectation Suite.

Great Expectations will choose a couple of columns and generate expectations about them to demonstrate some examples of assertions you can make about your data.

great_expectations.cli.v012.suite.suite_new(suite, directory, jupyter, batch_kwargs) → None

Create a new empty Expectation Suite.

Edit in jupyter notebooks, or skip with the –no-jupyter flag

great_expectations.cli.v012.suite._suite_new(suite: str, directory: str, empty: bool, jupyter: bool, view: bool, batch_kwargs, usage_event: str) → None
great_expectations.cli.v012.suite.suite_delete(suite, directory) → None

Delete an expectation suite from the expectation store.

great_expectations.cli.v012.suite.suite_scaffold(suite, directory, jupyter) → None

Scaffold a new Expectation Suite.

great_expectations.cli.v012.suite._suite_scaffold(suite: str, directory: str, jupyter: bool) → None
great_expectations.cli.v012.suite.suite_list(directory)

Lists available Expectation Suites.

great_expectations.cli.v012.suite._get_notebook_path(context, notebook_name)