code: def test_baseplotlytypes_cannot_match_subset():
      # should return False because "undefined" keys in sel return None, and are
      # compared (because "key in sel" returned True, it's value was None)
      obj = go.layout.Annotation(x=1, y=2, text="pat metheny")
      sel = go.layout.Annotation(
          x=1,
          y=2,
      )
      assert BaseFigure._selector_matches(obj, sel) == False
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_core/test_update_objects/test_selector_matches.py
imports: import plotly.graph_objects
  from plotly.basedatatypes import BaseFigure
label_desc: Use image node_id 8 for calling a global function with example usage: test_baseplotlytypes_cannot_match_subset() without return types