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