openclean.engine.store.function module

Persistent repository for library functions. Instantiates the default object store with a persistent data store for registered functions.

class openclean.engine.store.function.FunctionRepository(basedir: Optional[str] = None, defaults: Optional[List[openclean.engine.object.function.FunctionHandle]] = None)

Bases: openclean.engine.store.default.DefaultObjectStore

Object store for library functions. Persists all user-defined functions on disk using a file system data store. The files are stored under the openclean home directory if no base directory is specififed.