def run_flush_comparison_cache(opts, **kwargs): """ Flush the comparison cache. """ from newslynx.models import ComparisonsCache ComparisonsCache.flush() log.info('Compaison cache flushed.')
def run_flush_comparison_cache(opts, **kwargs): """ Flush the comparison cache. """ from newslynx.models import ComparisonsCache ComparisonsCache.flush() log.info('Compaison cache flushed.')
def run_flush_comparison_cache(opts, **kwargs): """ Flush the comparison cache. """ ComparisonsCache.flush() echo('Compaison cache flushed.', no_color=opts.no_color)
def flush_comparison_cache(): ComparisonsCache.flush()