code: def publish_display_data(
      data: dict[str, Any],
      metadata: dict[Any, Any] | None = None,
      *,
      transient: dict[str, Any] | None = None,
      **kwargs: Any,
  ) -> None:
      """ """
      # This import MUST be deferred or it will introduce a hard dependency on IPython
      from IPython.display import publish_display_data
  
      publish_display_data(
          data, metadata, transient=transient, **kwargs
      )
  
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 8 for calling a global function with example usage: publish_display_data(data, metadata) without return types