code: def prune(self, uids: List[int]) -> None:
      self.requests = [r for r in self.requests if r.uid not in uids]
  
imports: from dataclasses import dataclass, field, asdict
  from typing import Any, Dict, List, Iterator, Union
  from typing_extensions import Self
  import torch
  from mii.constants import GenerationFinishReason
  from mii.config import GenerateParamsConfig
label_desc: Use image node_id 20 for calling the RequestBatch obj's underlying member method code with example usage: obj.prune(uids) without return types