Exemplo n.º 1
0
def run_flush_comparison_cache(opts, **kwargs):
    """
    Flush the comparison cache.
    """
    from newslynx.models import ComparisonsCache

    ComparisonsCache.flush()
    log.info('Compaison cache flushed.')
Exemplo n.º 2
0
def run_flush_comparison_cache(opts, **kwargs):
    """
    Flush the comparison cache.
    """
    from newslynx.models import ComparisonsCache

    ComparisonsCache.flush()
    log.info('Compaison cache flushed.')
Exemplo n.º 3
0
def run_flush_comparison_cache(opts, **kwargs):
    """
    Flush the comparison cache.
    """
    ComparisonsCache.flush()
    echo('Compaison cache flushed.', no_color=opts.no_color)
Exemplo n.º 4
0
def flush_comparison_cache():
    ComparisonsCache.flush()