class_docstr: Base class for Bokeh property instances, which can be added to Bokeh
  Models.
  
  Args:
      default (obj, optional) :
          A default value for attributes created from this property to have.
  
      help (str or None, optional) :
          A documentation string for this property. It will be automatically
          used by the :ref:`bokeh.sphinxext.bokeh_prop` extension when
          generating Spinx documentation. (default: None)
class_docstr_tok: ["Base","class","for","Bokeh","property","instances",",","which","can","be","added","to","Bokeh","Models",".","Args",":","default","(","obj",",","optional",")",":","A","default","value","for","attributes","created","from","this","property","to","have",".","help","(","str","or","None",",","optional",")",":","A","documentation","string","for","this","property",".","It","will","be","automatically","used","by","the",":","ref",":","`","bokeh.sphinxext.bokeh_prop","`","extension","when","generating","Spinx","documentation",".","(","default",":","None",")"]
docstr: Declare that other types may be converted to this property type.
  
  Args:
      tp (Property) :
          A type that may be converted automatically to this property
          type.
  
      converter (callable) :
          A function accepting ``value`` to perform conversion of the
          value to this property type.
  
  Returns:
      self
docstr_tok: ["Declare","that","other","types","may","be","converted","to","this","property","type",".","Args",":","tp","(","Property",")",":","A","type","that","may","be","converted","automatically","to","this","property","type",".","converter","(","callable",")",":","A","function","accepting","``","value","``","to","perform","conversion","of","the","value","to","this","property","type",".","Returns",":","self"]
code: def accepts(
      self, tp: TypeOrInst[Property[Any]], converter: Callable[[Any], T]
  ) -> Property[T]:
      """Declare that other types may be converted to this property type.
  
      Args:
          tp (Property) :
              A type that may be converted automatically to this property
              type.
  
          converter (callable) :
              A function accepting ``value`` to perform conversion of the
              value to this property type.
  
      Returns:
          self
  
      """
  
      tp = ParameterizedProperty._validate_type_param(tp)
      self.alternatives.append((tp, converter))
      return self
  
imports: from __future__ import annotations
  import logging
  from copy import copy
  from typing import TYPE_CHECKING, Any, Callable, ClassVar, TypeVar, Union
  from ...util.dependencies import uses_pandas
  from ...util.strings import nice_join
  from ..has_props import HasProps
  from ._sphinx import property_link, register_type_link, type_link
  from .descriptor_factory import PropertyDescriptorFactory
  from .descriptors import PropertyDescriptor
  from .singletons import Intrinsic, IntrinsicType, Undefined, UndefinedType
label_desc: Use image node_id 23 for calling the Property obj's underlying member method code with example usage: obj.accepts(tp, converter) and returns: self