Example #1
0
def build_cache():
    import logging
    logging.basicConfig(level=logging.INFO)

    cache.invalidate(hard=True)
    BeijingBus.get_all_stations()

    click.secho('Done!', fg='green')
Example #2
0
def build_cache():
    import logging
    logging.basicConfig(level=logging.INFO)

    cache.invalidate(hard=True)
    BeijingBus.get_all_stations()

    click.secho('Done!', fg='green')