class_docstr: Class for observations and actions in ParlAI.
  
  Functions like a dict, but triggers a RuntimeError when calling __setitem__ for a
  key that already exists in the dict.
docstr: Create a Message for batch padding.
docstr_tok: ["Create","a","Message","for","batch","padding","."]
code: def padding_example(cls) -> Message:
      """
      Create a Message for batch padding.
      """
      return cls({"batch_padding": True, "episode_done": True})
  
file_path: ParlAI/parlai/core/message.py
imports: from __future__ import annotations
  from typing import Any, Dict
label_desc: Use image node_id 4 for calling the Message obj's underlying member method code with example usage: obj.padding_example(cls) and returns: cls