class_docstr: Base class for adapting messages
  
  Override message_type(msg) methods to create adapters.
class_docstr_tok: ["Base","class","for","adapting","messages","Override","message_type","(","msg",")","methods","to","create","adapters","."]
docstr: Update the metadata.
docstr_tok: ["Update","the","metadata","."]
code: def update_metadata(self, msg: Dict[str, Any]) -> Dict[str, Any]:
      """Update the metadata."""
      return msg
  
imports: import json
  import re
  from typing import Any, Dict, List, Tuple
  from ._version import protocol_version_info
label_desc: Use image node_id 2 for calling the Adapter obj's underlying member method code with example usage: obj.update_metadata(msg) and returns: msg