def clear(self, interval=None):
    '\n        Stop/remove tickers from handler.\n\n        Args:\n            interval (int): Only stop tickers with this interval.\n\n        Notes:\n            This is the only supported way to kill tickers related to\n            non-db objects.\n\n        '
    self.ticker_pool.stop(interval)
    if interval:
        self.ticker_storage = dict(((store_key, store_key) for store_key in self.ticker_storage if (store_key[1] != interval)))
    else:
        self.ticker_storage = {}
    self.save()
Stop/remove tickers from handler.

Args:
    interval (int): Only stop tickers with this interval.

Notes:
    This is the only supported way to kill tickers related to
    non-db objects.
def clear(self, interval=None):
    '\n        Stop/remove tickers from handler.\n\n        Args:\n            interval (int): Only stop tickers with this interval.\n\n        Notes:\n            This is the only supported way to kill tickers related to\n            non-db objects.\n\n        '
    self.ticker_pool.stop(interval)
    if interval:
        self.ticker_storage = dict(((store_key, store_key) for store_key in self.ticker_storage if (store_key[1] != interval)))
    else:
        self.ticker_storage = {}
    self.save()