great_expectations.data_context.store.store

Module Contents

Classes

Store(store_backend=None, runtime_environment=None, store_name=’no_store_name’)

A store is responsible for reading and writing Great Expectations objects

great_expectations.data_context.store.store.logger
class great_expectations.data_context.store.store.Store(store_backend=None, runtime_environment=None, store_name='no_store_name')

A store is responsible for reading and writing Great Expectations objects to appropriate backends. It provides a generic API that the DataContext can use independently of any particular ORM and backend.

An implementation of a store will generally need to define the following:
  • serialize

  • deserialize

  • _key_class (class of expected key type)

All keys must have a to_tuple() method.

_key_class
ge_cloud_response_json_to_object_dict(self, response_json: Dict)

This method takes full json response from GE cloud and outputs a dict appropriate for deserialization into a GE object

_validate_key(self, key)
property ge_cloud_mode(self)
property store_backend(self)
property store_name(self)
property store_backend_id(self)

Report the store_backend_id of the currently-configured StoreBackend :returns: store_backend_id which is a UUID(version=4)

property key_class(self)
property store_backend_id_warnings_suppressed(self)

Report the store_backend_id of the currently-configured StoreBackend, suppressing warnings for invalid configurations. :returns: store_backend_id which is a UUID(version=4)

serialize(self, key, value)
key_to_tuple(self, key)
tuple_to_key(self, tuple_)
deserialize(self, key, value)
get(self, key)
set(self, key, value, **kwargs)
list_keys(self)
has_key(self, key)
self_check(self, pretty_print)
property config(self)