code: def from_msg_dicts(msg_dicts: List[Dict[str, Any]]) -> Self:
      return RequestBatch(
          [RequestMsg.from_msg_dict(msg) for msg in msg_dicts]
      )
  
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 19 for calling the RequestBatch obj's underlying member method code with example usage: obj.from_msg_dicts(msg_dicts) and returns: RequestBatch