code: def get_comms(target_name: str) -> Comm:
      """Create a Jupyter comms object for a specific target, that can
      be used to update Bokeh documents in the Jupyter notebook.
  
      Args:
          target_name (str) : the target name the Comms object should connect to
  
      Returns
          Jupyter Comms
  
      """
      # NOTE: must defer all IPython imports inside functions
      from ipykernel.comm import Comm
  
      return Comm(target_name=target_name, data={})
  
imports: from __future__ import annotations
  import logging
  import json
  import os
  import urllib
  from typing import TYPE_CHECKING, Any, Callable, Literal, Protocol, TypedDict, Union, cast, overload
  from uuid import uuid4
  from ..core.types import ID
  from ..util.serialization import make_id
  from ..util.warnings import warn
  from .state import curstate
label_desc: Use image node_id 5 for calling a global function with example usage: get_comms(target_name) and returns: Comm