code: def validator():
      return BaseDataValidator(
          class_strs_map={
              "scatter": "Scatter",
              "bar": "Bar",
              "box": "Box",
          },
          plotly_name="prop",
          parent_name="parent",
          set_uid=True,
      )
  
file_path: plotly.py/packages/python/plotly/_plotly_utils/tests/validators/test_basetraces_validator.py
imports: import pytest
  from _plotly_utils.basevalidators import BaseDataValidator
  from plotly.graph_objs import Scatter, Bar, Box
label_desc: Use image node_id 1 for calling a global function with example usage: validator() and returns: BaseDataValidator