pyslk.search_status_raw

pyslk.search_status_raw#

pyslk.search_status_raw(search_id: str | int, json: bool = False, return_type: int = 0) str | int | CompletedProcess#

Check if search is successful

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

  • json (bool) – if the output should be in json format

  • 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]