original_docstring: 
      Retrieves search results from QRadar service.
      possible arguments:
      - search_id: Search ID to retrieve its results.
      - output_path: If specified, will be context output path prefix.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      
docstring: Retrieves search results from QRadar service.
  possible arguments:
  search_id: Search ID to retrieve its results.
  output_path: If specified, will be context output path prefix.
  range: Range of offenses to return .
docstring_tokens: Retrieves search results from QRadar service . possible arguments : search_id : Search ID to retrieve its results . output_path : If specified will be context output path prefix . range : Range of offenses to return .
code: def qradar_search_results_get_command(client: Client, args: Dict) -> CommandResults:
      """
      Retrieves search results from QRadar service.
      possible arguments:
      - search_id: Search ID to retrieve its results.
      - output_path: If specified, will be context output path prefix.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      """
      search_id: str = args.get('search_id', '')
      output_path = args.get('output_path')
      # Using or instead of default value for QRadarFullSearch backward compatibility
      range_ = f'''items={args.get('range') or DEFAULT_RANGE_VALUE}'''
  
      response = client.search_results_get(search_id, range_)
      if not response:
          raise DemistoException('Unexpected response from QRadar service.')
      result_key = list(response.keys())[0]
      outputs = sanitize_outputs(response.get(result_key))
  
      outputs_prefix = output_path if output_path else f'QRadar.Search(val.ID === "{search_id}").Result.{result_key}'
  
      return CommandResults(
          readable_output=tableToMarkdown(f'Search Results For Search ID {search_id}', outputs),
          outputs_prefix=outputs_prefix,
          outputs=outputs,
          raw_response=response
      )
code_tokens: def qradar_search_results_get_command ( client : Client , args : Dict ) -> CommandResults : search_id : str = args . get ( 'search_id' , '' ) output_path = args . get ( 'output_path' ) range_ = f'''items={args.get('range') or DEFAULT_RANGE_VALUE}''' response = client . search_results_get ( search_id , range_ ) if not response : raise DemistoException ( 'Unexpected response from QRadar service.' ) result_key = list ( response . keys ( ) ) [ 0 ] outputs = sanitize_outputs ( response . get ( result_key ) ) outputs_prefix = output_path if output_path else f'QRadar.Search(val.ID === "{search_id}").Result.{result_key}' return CommandResults ( readable_output = tableToMarkdown ( f'Search Results For Search ID {search_id}' , outputs ) , outputs_prefix = outputs_prefix , outputs = outputs , raw_response = response )
short_docstring: Retrieves search results from QRadar service.
short_docstring_tokens: Retrieves search results from QRadar service .
comment: """
      Retrieves search results from QRadar service.
      possible arguments:
      - search_id: Search ID to retrieve its results.
      - output_path: If specified, will be context output path prefix.
      - range: Range of offenses to return (e.g.: 0-20, 3-5, 3-3).
      Args:
          client (Client): QRadar client to perform the API call.
          args (Dict): Demisto args.
  
      Returns:
          CommandResults.
      """$SEP$# Using or instead of default value for QRadarFullSearch backward compatibility