great_expectations.data_context.store.store

Module Contents

Classes

Store(store_backend=None, runtime_environment=None)

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)

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
_validate_key(self, key)
property store_backend(self)
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)
list_keys(self)
has_key(self, key)
self_check(self, pretty_print)