def create(ctx, compute_environment): """ Create a new compute environment. """ mgr = BatchManager(yml=ctx.obj['CONFIG']) mgr.create_compute_environment(compute_environment)
def create(ctx, compute_environment): """ Create a new compute environment. """ mgr = BatchManager(filename=ctx.obj['CONFIG_FILE']) mgr.create_compute_environment(compute_environment)