code: def __init__(
      self,
      plotly_name="pattern",
      parent_name="volume.surface",
      **kwargs,
  ):
      super(PatternValidator, self).__init__(
          plotly_name=plotly_name,
          parent_name=parent_name,
          edit_type=kwargs.pop("edit_type", "calc"),
          extras=kwargs.pop("extras", ["all", "odd", "even"]),
          flags=kwargs.pop("flags", ["A", "B", "C", "D", "E"]),
          role=kwargs.pop("role", "style"),
          **kwargs,
      )
  
imports: import _plotly_utils.basevalidators
label_desc: Use image node_id 1 to create a new PatternValidator object from inherited base classes: _plotly_utils.basevalidators with example: obj = PatternValidator(plotly_name, parent_name)