code: def set_interval(self, interval):
          
          if type(interval) != float or type(interval) != int:
              raise InvalidInput("Interval value must be of float or int")
          self._config['interval']
docs: Set the polling interval for the process thread.
  
          :param interval: How often to poll the Hottop
          :type interval: int or float
          :returns: None
          :raises: InvalidInput