pyslk.searchid_exists_raw

pyslk.searchid_exists_raw#

pyslk.searchid_exists_raw(search_id: str | int, return_type: int = 0) str | int | CompletedProcess#

Check if search id exists

Parameters:
  • search_id (str or int) – a search_id

  • return_type (int) – select between 0 (== str output), 1 (== exit code), 2 (subprocess output)

Returns:

stdout of the slk call

Return type:

Union[str, int, subprocess.CompletedProcess]