pyslk.recall_raw#
- pyslk.recall_raw(path_or_id: str | int | Path, recursive: bool = False, return_type: int = 0) str | int | CompletedProcess | Popen | FakeProc #
Recall files from tape to cache via search id or GNS path
- Parameters:
path_or_id (str or int or Path) – search id or gns path of resources to recall
recursive (bool) – use the -R flag to recall recursively, Default: False
return_type (int) – select between 0 (== str output), 1 (== exit code), 2 (subprocess output), 3 (running subproc.)
- Returns:
stdout of the slk_helpers call
- Return type:
Union[str, int, subprocess.CompletedProcess, subprocess.Popen, FakeProc]