code: def __init__(
      self,
      request_id,
      prompt_ids,
      sample_params: SamplingParams,
      prompts: str = "",
  ):
      self.request_id = request_id
      self.prompt_ids = prompt_ids
      self.input_len = len(prompt_ids)
      self.max_output_len = sample_params.max_new_tokens
      self.sample_params = sample_params
      self.output_ids = []
      self.output_metadata_list = []
      self.has_generate_finished = False
      self.aborted = False
      self.prompts = prompts
  
imports: from typing import Dict, List, Tuple
  from .sampling_params import SamplingParams
label_desc: Use image node_id 1 to create a new Req object  with example: obj = Req(request_id, prompt_ids, sample_params, prompts)