def exec_import(cmd_module, cmd):
    worker_fn = None
    exec('import %s; worker_fn = %s' % (cmd_module, cmd))
    return worker_fn
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/mongoexp.py/exec_import/original