code: def __init__(self, plotly_name="duration"):
      super(DurationValidator, self).__init__(
          plotly_name=plotly_name, parent_name="batch_animate", min=0
      )
  
imports: from _plotly_utils.basevalidators import EnumeratedValidator, NumberValidator
label_desc: Use image node_id 1 to create a new DurationValidator object from inherited base classes: NumberValidator with example: obj = DurationValidator(plotly_name)