pyslk.is_on_tape

Contents

pyslk.is_on_tape#

pyslk.is_on_tape(resource: str | int | Path | None = None, search_id: str | int | None = None) bool#

Check if whether file(s) is/are stored on tape; returns True/False

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:

True if all files are stored on tape; False otherwise

Return type:

bool