Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions mplang/runtime/object_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading