class_docstr_tok: []
code: def _repr_html_(self) -> str:
      if self._cellno is not None:
          return f"<p><code>&lt;Bokeh Notebook handle for <strong>In[{self._cellno}]</strong>&gt;</code></p>"
      else:
          return "<p><code>&lt;Bokeh Notebook handle&gt;</code></p>"
  
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 2 for calling the CommsHandle obj's underlying member method code with example usage: obj._repr_html_() and returns: str, self, str, str