class_docstr: Base class for all objects stored in Bokeh |Document| instances.
  
      
class_docstr_tok: ["Base","class","for","all","objects","stored","in","Bokeh","|Document|","instances","."]
docstr: Query this object and all of its references for objects that
  match the given selector.  Raises an error if more than one object
  is found.  Returns single matching object, or None if nothing is found
  Args:
      selector (JSON-like) :
  
  Returns:
      Model
code: def select_one(self, selector: SelectorType) -> Model | None:
      """Query this object and all of its references for objects that
      match the given selector.  Raises an error if more than one object
      is found.  Returns single matching object, or None if nothing is found
      Args:
          selector (JSON-like) :
  
      Returns:
          Model
      """
      result = list(self.select(selector))
      if len(result) > 1:
          raise ValueError(
              f"Found more than one object matching {selector}: {result!r}"
          )
      if len(result) == 0:
          return None
      return result[0]
  
imports: from __future__ import annotations
  import logging
  from inspect import Parameter, Signature, isclass
  from typing import TYPE_CHECKING, Any, Iterable
  from ..core import properties
  from ..core.has_props import HasProps, _default_resolver, abstract
  from ..core.property._sphinx import type_link
  from ..core.property.validation import without_property_validation
  from ..core.serialization import ObjectRefRep, Ref, Serializer
  from ..core.types import ID
  from ..events import Event
  from ..themes import default
  from ..util.callback_manager import EventCallbackManager, PropertyCallbackManager
  from ..util.serialization import make_id
  from .docs import html_repr, process_example
  from .util import HasDocumentRef, collect_models, visit_value_and_its_immediate_references
label_desc: Use image node_id 15 for calling the Model obj's underlying member method code with example usage: obj.select_one(selector) and returns: result, None