local_storage#
Full path: exa.core.local_storage
A fully local, in-memory or file-system implementation of StorageInterface.
This module provides LocalStorage, which keeps all data in plain Python objects
in the current process, with no database or server required. It only implements the
observation and observation set related methods of StorageInterface; everything
else raises NotImplementedError. It is meant for small-scale local use (notebooks,
scripts, tests), not for production workloads with large amounts of data.
Optionally, an instance can be pointed at a JSON file on disk: existing state is loaded from it on construction, and every create/update operation transparently persists the new state back to it.
Classes
Local, in-memory implementation of |
Inheritance
