code: def all_descriptors():
      for name in dir(models):
          model = getattr(models, name)
  
          try:
              if not issubclass(model, Model):
                  continue
          except TypeError:
              continue
  
          for prop in model.properties():
              descriptor = model.lookup(prop)
              yield (model, name, descriptor)
  
file_path: bokeh/tests/unit/bokeh/models/test_defaults.py
imports: from __future__ import annotations
  import pytest
  from typing import Any
  from bokeh.core.property.descriptors import PropertyDescriptor
  from bokeh.core.property.singletons import Undefined
  from bokeh.model import Model
  from bokeh import models
label_desc: Use image node_id 1 for calling a global function with example usage: all_descriptors() without return types