code: def __init__(self, batch_id, reqs: List[Req]):
      self.batch_id = batch_id
      self.reqs = reqs
      self.id_to_reqs = {req.request_id: req for req in reqs}
  
imports: from typing import Dict, List, Tuple
  from .sampling_params import SamplingParams
label_desc: Use image node_id 1 to create a new Batch object  with example: obj = Batch(batch_id, reqs)