code: def test_check_cdsview_filters_with_connected_error(glyph) -> None:
      renderer = bmr.GlyphRenderer(data_source=ColumnDataSource())
      renderer.glyph = glyph()
  
      assert renderer._check_cdsview_filters_with_connected() == []
  
      renderer.view.filter = IndexFilter()
      check = renderer._check_cdsview_filters_with_connected()
      assert len(check) == 1
      assert check[0] == ValidationIssue(
          code=1024,
          name="CDSVIEW_FILTERS_WITH_CONNECTED",
          text="CDSView filters are not compatible with glyphs with connected topology such as Line or Patch",
          extra=str(renderer),
      )
  
imports: from __future__ import annotations
  import pytest
  from bokeh.core.validation.check import ValidationIssue
  from bokeh.models import ColorBar, ColumnDataSource, GeoJSONDataSource, Image, ImageRGBA, ImageStack, IndexFilter, Line, MultiLine, Patch, Scatter, Text, WebDataSource, WeightedStackColorMapper
  from bokeh.transform import linear_cmap, log_cmap
  import bokeh.models.renderers
label_desc: Use image node_id 1 for calling a global function with example usage: test_check_cdsview_filters_with_connected_error(glyph) without return types