nemo_curator.utils.storage_utils

View as Markdown

Module Contents

Functions

NameDescription
_get_local_pathConstruct a full local path from a base path and additional components.
get_full_pathConstruct a full path from a base path and additional components.

API

nemo_curator.utils.storage_utils._get_local_path(
localpath: pathlib.Path,
args: str = ()
) -> pathlib.Path

Construct a full local path from a base path and additional components. Args: localpath: The base local path. *args: Additional path components. Returns: The full local path as a Path object.

nemo_curator.utils.storage_utils.get_full_path(
path: str | pathlib.Path,
args: str = ()
) -> pathlib.Path

Construct a full path from a base path and additional components. Args: path: The base path. *args: Additional path components. Returns: The full path as a StoragePrefix or Path object.