great_expectations.exceptions.exceptions

Module Contents

exception great_expectations.exceptions.exceptions.GreatExpectationsError(message)

Bases: Exception

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.GreatExpectationsValidationError(message, validation_error=None)

Bases: great_expectations.marshmallow__shade.ValidationError, great_expectations.exceptions.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.

__str__(self)

Return str(self).

exception great_expectations.exceptions.exceptions.SuiteEditNotebookCustomTemplateModuleNotFoundError(custom_module)

Bases: ModuleNotFoundError

Module not found.

exception great_expectations.exceptions.exceptions.DataContextError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.CheckpointError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.CheckpointNotFoundError(message)

Bases: great_expectations.exceptions.exceptions.CheckpointError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.StoreBackendError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.UnavailableMetricError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.ParserError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidConfigurationYamlError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidTopLevelConfigKeyError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.MissingTopLevelConfigKeyError(message, validation_error=None)

Bases: great_expectations.exceptions.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.exceptions.InvalidBaseYamlConfigError(message, validation_error=None, field_name=None)

Bases: great_expectations.exceptions.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.exceptions.InvalidDataContextConfigError(message, validation_error=None, field_name=None)

Bases: great_expectations.exceptions.exceptions.InvalidBaseYamlConfigError

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.exceptions.InvalidCheckpointConfigError(message, validation_error=None, field_name=None)

Bases: great_expectations.exceptions.exceptions.InvalidBaseYamlConfigError

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.exceptions.InvalidBatchKwargsError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidBatchSpecError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidBatchRequestError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidBatchIdError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidDataContextKeyError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.UnsupportedConfigVersionError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.EvaluationParameterError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.ProfilerError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.ProfilerConfigurationError(message)

Bases: great_expectations.exceptions.exceptions.ProfilerError

A configuration error for a profiler.

exception great_expectations.exceptions.exceptions.ProfilerExecutionError(message)

Bases: great_expectations.exceptions.exceptions.ProfilerError

A runtime error for a profiler.

exception great_expectations.exceptions.exceptions.InvalidConfigError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

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

Bases: great_expectations.exceptions.exceptions.InvalidConfigError

Common base class for all non-exit exceptions.

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

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.StoreConfigurationError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidExpectationKwargsError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidExpectationConfigurationError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidValidationResultError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.GreatExpectationsTypeError

Bases: TypeError

Inappropriate argument type.

exception great_expectations.exceptions.exceptions.StoreError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidKeyError(message)

Bases: great_expectations.exceptions.exceptions.StoreError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidCacheValueError(result_dict)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.ConfigNotFoundError

Bases: great_expectations.exceptions.exceptions.DataContextError

The great_expectations dir could not be found.

exception great_expectations.exceptions.exceptions.PluginModuleNotFoundError(module_name)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

A module import failed.

exception great_expectations.exceptions.exceptions.PluginClassNotFoundError(module_name, class_name)

Bases: great_expectations.exceptions.exceptions.DataContextError, AttributeError

A module import failed.

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

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.ExpectationSuiteNotFoundError(data_asset_name)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

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

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.BatchDefinitionError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.BatchSpecError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.DatasourceError(datasource_name, message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.DatasourceConfigurationError(datasource_name, message)

Bases: great_expectations.exceptions.exceptions.DatasourceError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.DatasourceInitializationError(datasource_name, message)

Bases: great_expectations.exceptions.exceptions.DatasourceError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.DatasourceKeyPairAuthBadPassphraseError(datasource_name, message)

Bases: great_expectations.exceptions.exceptions.DatasourceInitializationError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.InvalidConfigValueTypeError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.DataConnectorError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.ExecutionEngineError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.BatchFilterError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.SorterError(message)

Bases: great_expectations.exceptions.exceptions.DataContextError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.MetricError(message)

Bases: great_expectations.exceptions.exceptions.GreatExpectationsError

Common base class for all non-exit exceptions.

exception great_expectations.exceptions.exceptions.MetricProviderError(message)

Bases: great_expectations.exceptions.exceptions.MetricError

Common base class for all non-exit exceptions.