Skip to main content
Version: 1.2.3

SuiteFactory

class great_expectations.core.factory.SuiteFactory(store: ExpectationsStore)#
add(suite: great_expectations.core.expectation_suite.ExpectationSuite) great_expectations.core.expectation_suite.ExpectationSuite#

Add an ExpectationSuite to the collection.

Parameters

suite – ExpectationSuite to add

Raises

DataContextError if ExpectationSuite already exists

all() Iterable[great_expectations.core.expectation_suite.ExpectationSuite]#

Get all ExpectationSuites.

delete(name: str) None#

Delete an ExpectationSuite from the collection.

Parameters

name – The name of the ExpectationSuite to delete

Raises

DataContextError if ExpectationSuite doesn't exist

get(name: str) great_expectations.core.expectation_suite.ExpectationSuite#

Get an ExpectationSuite from the collection by name.

Parameters

name – Name of ExpectationSuite to get

Raises

DataContextError when ExpectationSuite is not found.