docstr: Initialize metadata.
  
  Run at the beginning of each execution request.
docstr_tok: ["Initialize","metadata",".","Run","at","the","beginning","of","each","execution","request","."]
code: def init_metadata(self, parent):
      """Initialize metadata.
  
      Run at the beginning of each execution request.
      """
      md = super(IPythonKernel, self).init_metadata(parent)
      # FIXME: remove deprecated ipyparallel-specific code
      # This is required for ipyparallel < 5.0
      md.update(
          {
              "dependencies_met": True,
              "engine": self.ident,
          }
      )
      return md
  
imports: import getpass
  import sys
  from IPython.core import release
  from ipython_genutils.py3compat import builtin_mod, PY3, unicode_type, safe_unicode
  from IPython.utils.tokenutil import token_at_cursor, line_at_cursor
  from traitlets import Instance, Type, Any, List, Bool
  from .comm import CommManager
  from .kernelbase import Kernel
  from .zmqshell import ZMQInteractiveShell
label_desc: Use image node_id 7 for calling the IPythonKernel obj's underlying member method code with example usage: obj.init_metadata(parent) and returns: md