diff --git a/mplang/runtime/object_store.py b/mplang/runtime/object_store.py index 3d10579e..5630a139 100644 --- a/mplang/runtime/object_store.py +++ b/mplang/runtime/object_store.py @@ -55,6 +55,16 @@ class StoreBackend(ABC): def __init__(self, root_path: str | None = None) -> None: self._root_path: str | None = root_path + @property + def root_path(self) -> str | None: + """Base path for all storage operations. + + Returns the configured root directory (local path, S3 prefix, etc.) + under which all keys are resolved. May be ``None`` for backends + that do not use a root path (e.g. in-memory). + """ + return self._root_path + @property @abstractmethod def scheme(self) -> str: