class_docstr: A class for managing multiple kernels.
class_docstr_tok: ["A","class","for","managing","multiple","kernels","."]
docstr: Return a zmq Socket connected to the hb channel.
  
  Parameters
  ==========
  kernel_id : uuid
      The id of the kernel
  identity : bytes (optional)
      The zmq identity of the socket
  
  Returns
  =======
  stream : zmq Socket or ZMQStream
code: def connect_hb(self, kernel_id, identity=None):
      """Return a zmq Socket connected to the hb channel.
  
      Parameters
      ==========
      kernel_id : uuid
          The id of the kernel
      identity : bytes (optional)
          The zmq identity of the socket
  
      Returns
      =======
      stream : zmq Socket or ZMQStream
      """
  
imports: from __future__ import absolute_import
  import os
  import uuid
  import zmq
  from traitlets.config.configurable import LoggingConfigurable
  from ipython_genutils.importstring import import_item
  from traitlets import Any, Bool, Dict, DottedObjectName, Instance, Unicode, default, observe
  from ipython_genutils.py3compat import unicode_type
  from .kernelspec import NATIVE_KERNEL_NAME, KernelSpecManager
label_desc: Use image node_id 29 for calling the MultiKernelManager obj's underlying member method code with example usage: obj.connect_hb(kernel_id, identity) without return types