code: def period(self, value: float):
          
          if value < 0:
              raise ValueError("Period must be greater or equal than zero.")
          self._period = timedelta(seconds=value)
docs: Set the period.
  
          Args:
            value (float): seconds