Beispiel #1
0
def main():
    # NOTE(mkwiek): no arguments should be supplied to solar-worker
    argparse.ArgumentParser().parse_args()
    log.info('Database in use: {}'.format(C.solar_db))
    runner = loader.get_runner(C.runner)
    constructors = loader.get_constructors()
    clients = loader.get_clients()
    exts = loader.get_extensions(clients)
    runner.driver(constructors, exts, clients)
Beispiel #2
0
def main():
    # NOTE(mkwiek): no arguments should be supplied to solar-worker
    argparse.ArgumentParser().parse_args()
    log.info('Database in use: {}'.format(C.solar_db))
    runner = loader.get_runner(C.runner)
    constructors = loader.get_constructors()
    clients = loader.get_clients()
    exts = loader.get_extensions(clients)
    runner.driver(constructors, exts, clients)
Beispiel #3
0
def runner():
    return loader.get_runner(C.runner)