class_docstr: Class that replicates just enough of the builtin Frame object to enable serialization and traceback rendering.
code: def __init__(self, frame):
      self.f_locals = {}
      self.f_globals = {
          k: v
          for k, v in frame.f_globals.items()
          if k in ("__file__", "__name__")
      }
      self.f_code = Code(frame.f_code)
      self.f_lineno = frame.f_lineno
  
imports: import re
  import sys
  from types import CodeType
  from types import FrameType
  from types import TracebackType
label_desc: Use image node_id 1 to create a new Frame object from inherited base classes: object with example: obj = Frame(frame)