great_expectations.data_context.store.store_backend

Module Contents

Classes

StoreBackend(fixed_length_key=False)

A store backend acts as a key-value store that can accept tuples as keys, to abstract away

InMemoryStoreBackend(runtime_environment=None, fixed_length_key=False)

Uses an in-memory dictionary as a store backend.

class great_expectations.data_context.store.store_backend.StoreBackend(fixed_length_key=False)

Bases: object

A store backend acts as a key-value store that can accept tuples as keys, to abstract away reading and writing to a persistence layer.

In general a StoreBackend implementation must provide implementations of:
  • _get

  • _set

  • list_keys

  • _has_key

IGNORED_FILES = ['.ipynb_checkpoints']
property fixed_length_key(self)
get(self, key)
set(self, key, value, **kwargs)
move(self, source_key, dest_key, **kwargs)
has_key(self, key)
get_url_for_key(self, key, protocol=None)
_validate_key(self, key)
_validate_value(self, value)
abstract _get(self, key)
abstract _set(self, key, value, **kwargs)
abstract _move(self, source_key, dest_key, **kwargs)
abstract list_keys(self, prefix=())
abstract remove_key(self, key)
abstract _has_key(self, key)
is_ignored_key(self, key)
class great_expectations.data_context.store.store_backend.InMemoryStoreBackend(runtime_environment=None, fixed_length_key=False)

Bases: great_expectations.data_context.store.store_backend.StoreBackend

Uses an in-memory dictionary as a store backend.

_get(self, key)
_set(self, key, value, **kwargs)
_move(self, source_key, dest_key, **kwargs)
list_keys(self, prefix=())
_has_key(self, key)
remove_key(self, key)