class_docstr: Control validation of bokeh properties
  
  This can be used as a context manager, or as a normal callable
  
  Args:
      value (bool) : Whether validation should occur or not
  
  Example:
      .. code-block:: python
  
          with validate(False):  # do no validate while within this block
              pass
  
          validate(False)  # don't validate ever
  
  See Also:
      :func:`~bokeh.core.property.bases.validation_on`: check the state of validation
  
      :func:`~bokeh.core.properties.without_property_validation`: function decorator
code: def __enter__(self):
      pass
  
file_path: bokeh/src/bokeh/core/property/validation.py
imports: from __future__ import annotations
  import logging
  from functools import wraps
  from .bases import Property
label_desc: Use image node_id 2 for calling the validate obj's underlying member method code with example usage: obj.__enter__() without return types