neurocore.persistence.factory ============================= .. py:module:: neurocore.persistence.factory .. autoapi-nested-parse:: Construct a RunStore from NeuroCoreConfig. Functions --------- .. autoapisummary:: neurocore.persistence.factory.build_run_store Module Contents --------------- .. py:function:: build_run_store(config: neurocore.config.schema.NeuroCoreConfig) -> neurocore.persistence.base.RunStore | None Build a RunStore from config, or None when persistence is disabled. :param config: Project configuration. :returns: A RunStore instance, or None if ``persistence.enabled`` is False. :raises ConfigError: If the configured backend is unknown.