pyslk.is_on_tape_details

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 or int or path-like) – a resource id or a resource path

  • search_id (int or str) – 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]]