class_docstr: Convert msg spec V4 to V5
class_docstr_tok: ["Convert","msg","spec","V4","to","V5"]
docstr: Handle a complete request.
docstr_tok: ["Handle","a","complete","request","."]
code: def complete_request(self, msg: Dict[str, Any]) -> Dict[str, Any]:
      """Handle a complete request."""
      old_content = msg["content"]
  
      new_content = msg["content"] = {}
      new_content["code"] = old_content["line"]
      new_content["cursor_pos"] = old_content["cursor_pos"]
      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 5 for calling the V4toV5 obj's underlying member method code with example usage: obj.complete_request(msg) and returns: msg