great_expectations.data_context.store.expectations_store

Module Contents

Classes

ExpectationsStore(store_backend=None, runtime_environment=None)

A store is responsible for reading and writing Great Expectations objects

class great_expectations.data_context.store.expectations_store.ExpectationsStore(store_backend=None, runtime_environment=None)

Bases: great_expectations.data_context.store.store.Store

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
remove_key(self, key)
serialize(self, key, value)
deserialize(self, key, value)