code: def validator():
      return CompoundValidator(
          "prop", "scatter", data_class_str="Marker", data_docs=""
      )
  
file_path: plotly.py/packages/python/plotly/_plotly_utils/tests/validators/test_compound_validator.py
imports: import pytest
  from _plotly_utils.basevalidators import CompoundValidator
  from plotly.graph_objs.scatter import Marker
label_desc: Use image node_id 1 for calling a global function with example usage: validator() and returns: CompoundValidator