pyslk.is_on_tape_details#
- pyslk.is_on_tape_details(resource: str | int | Path | None = None, search_id: str | int | None = None) dict[str, list[pathlib.Path]] #
Check if whether file(s) is/are stored on tape or not; returns dict with keys ‘on_tape’ and ‘not_on_tape’
- Parameters:
resource (
str
orint
orpath-like
) – a resource id or a resource pathsearch_id (
int
orstr
) – id of a search
- Returns:
dictionary with two keys ‘on_tape’ and ‘not_on_tape’ which each have a list of files as value
- Return type:
dict[str, list[Path]]