code: def _sphinx_type_link(obj: Either[Any]):
      subtypes = ", ".join(type_link(x) for x in obj.type_params)
      return f"{property_link(obj)}({subtypes})"
  
file_path: bokeh/src/bokeh/core/property/either.py
imports: from __future__ import annotations
  import logging
  from typing import Any, TypeVar
  from ...util.strings import nice_join
  from ._sphinx import property_link, register_type_link, type_link
  from .bases import Init, ParameterizedProperty, Property, TypeOrInst
  from .singletons import Intrinsic
label_desc: Use image node_id 1 for calling a global function with example usage: _sphinx_type_link(obj) and returns: property_link, str, subtypes, str