code: def __init__(
      self, plotly_name="opacity", parent_name="layout.shape", **kwargs
  ):
      super(OpacityValidator, self).__init__(
          plotly_name=plotly_name,
          parent_name=parent_name,
          edit_type=kwargs.pop("edit_type", "arraydraw"),
          max=kwargs.pop("max", 1),
          min=kwargs.pop("min", 0),
          **kwargs,
      )
  
label_desc: Use image node_id 1 to create a new OpacityValidator object from inherited base classes: _plotly_utils.basevalidators with example: obj = OpacityValidator(plotly_name, parent_name)