great_expectations.exceptions

Module Contents

exception great_expectations.exceptions.GreatExpectationsError(message)

Bases: Exception

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.GreatExpectationsValidationError(message, validation_error)

Bases: great_expectations.marshmallow__shade.ValidationError, great_expectations.exceptions.GreatExpectationsError

Raised when validation fails on a field or schema.

Validators and custom fields should raise this exception.

Parameters
  • message – An error message, list of error messages, or dict of error messages. If a dict, the keys are subitems and the values are error messages.

  • field_name – Field name to store the error on. If None, the error is stored as schema-level error.

  • data – Raw input data.

  • valid_data – Valid (de)serialized data.

exception great_expectations.exceptions.SuiteEditNotebookCustomTemplateModuleNotFoundError(custom_module)

Bases: ModuleNotFoundError

Module not found.

exception great_expectations.exceptions.DataContextError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.CheckpointError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.CheckpointNotFoundError(message)

Bases: great_expectations.exceptions.CheckpointError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.StoreBackendError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.UnavailableMetricError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.ParserError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidConfigurationYamlError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidTopLevelConfigKeyError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.MissingTopLevelConfigKeyError(message, validation_error)

Bases: great_expectations.exceptions.GreatExpectationsValidationError

Raised when validation fails on a field or schema.

Validators and custom fields should raise this exception.

Parameters
  • message – An error message, list of error messages, or dict of error messages. If a dict, the keys are subitems and the values are error messages.

  • field_name – Field name to store the error on. If None, the error is stored as schema-level error.

  • data – Raw input data.

  • valid_data – Valid (de)serialized data.

exception great_expectations.exceptions.InvalidDataContextConfigError(message, validation_error)

Bases: great_expectations.exceptions.GreatExpectationsValidationError

Raised when validation fails on a field or schema.

Validators and custom fields should raise this exception.

Parameters
  • message – An error message, list of error messages, or dict of error messages. If a dict, the keys are subitems and the values are error messages.

  • field_name – Field name to store the error on. If None, the error is stored as schema-level error.

  • data – Raw input data.

  • valid_data – Valid (de)serialized data.

exception great_expectations.exceptions.InvalidBatchKwargsError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidBatchIdError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidDataContextKeyError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.UnsupportedConfigVersionError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.EvaluationParameterError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.ProfilerError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidConfigError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.MissingConfigVariableError(message, missing_config_variable=None)

Bases: great_expectations.exceptions.InvalidConfigError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.AmbiguousDataAssetNameError(message, candidates=None)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.StoreConfigurationError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidExpectationKwargsError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidExpectationConfigurationError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidValidationResultError(message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.GreatExpectationsTypeError

Bases: TypeError

Inappropriate argument type.

exception great_expectations.exceptions.StoreError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidKeyError(message)

Bases: great_expectations.exceptions.StoreError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidCacheValueError(result_dict)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.ConfigNotFoundError

Bases: great_expectations.exceptions.DataContextError

The great_expectations dir could not be found.

exception great_expectations.exceptions.PluginModuleNotFoundError(module_name)

Bases: great_expectations.exceptions.GreatExpectationsError

A module import failed.

exception great_expectations.exceptions.PluginClassNotFoundError(module_name, class_name)

Bases: great_expectations.exceptions.DataContextError, AttributeError

A module import failed.

exception great_expectations.exceptions.ClassInstantiationError(module_name, package_name, class_name)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.ExpectationSuiteNotFoundError(data_asset_name)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.BatchKwargsError(message, batch_kwargs=None)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.DatasourceInitializationError(datasource_name, message)

Bases: great_expectations.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.DatasourceKeyPairAuthBadPassphraseError(datasource_name, message)

Bases: great_expectations.exceptions.DatasourceInitializationError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.InvalidConfigValueTypeError(message)

Bases: great_expectations.exceptions.DataContextError

Common base class for all non-exit exceptions.