class_docstr_tok: []
code: def __init__(self, name: str, alias: DeprecatedAlias[T]) -> None:
      super().__init__(name, alias)
  
      major, minor, patch = self.alias.since
      since = f"{major}.{minor}.{patch}"
      self.__doc__ = f"""\
  This is a backwards compatibility alias for the {self.aliased_name!r} property.
  
  .. note::
      Property {self.name!r} was deprecated in Bokeh {since} and will be removed
      in the future. Update your code to use {self.aliased_name!r} instead.
  """
  
imports: from __future__ import annotations
  import logging
  from copy import copy
  from types import FunctionType
  from typing import TYPE_CHECKING, Any, Callable, Generic, TypeVar
  from ...util.deprecation import deprecated
  from .singletons import Undefined
  from .wrappers import PropertyValueColumnData, PropertyValueContainer
label_desc: Use image node_id 1 to create a new DeprecatedAliasPropertyDescriptor object from inherited base classes: AliasPropertyDescriptor with example: obj = DeprecatedAliasPropertyDescriptor(name, alias)