class_docstr: Allows to check if an attribute of an object satisfies the
  given type or a collection of types.
class_docstr_tok: ["Allows","to","check","if","an","attribute","of","an","object","satisfies","the","given","type","or","a","collection","of","types","."]
code: def __init__(
      self,
      type_param: TypeOrInst[Property[T]],
      name: str,
      type: TypeOrInst[Property[Any]],
      *,
      default: Init[T] = Intrinsic,
      help: str | None = None,
  ) -> None:
      super().__init__(type_param, default=default, help=help)
      self._query_name = name
      self._query_type = self._validate_type_param(type)
  
file_path: bokeh/src/bokeh/core/property/constraints.py
imports: from __future__ import annotations
  import logging
  from typing import Any, TypeVar
  from ._sphinx import property_link, register_type_link, type_link
  from .bases import Init, Property, SingleParameterizedProperty, TypeOrInst
  from .singletons import Intrinsic
label_desc: Use image node_id 1 to create a new TypeOfAttr object from inherited base classes: SingleParameterizedProperty with example: obj = TypeOfAttr(type_param, name, type)