def update(ctx, job_definition): """ Update an existing job definition. """ mgr = BatchManager(yml=ctx.obj['CONFIG']) mgr.update_job_definition(job_definition)
def update(ctx, job_definition): """ Update an existing job definition. """ mgr = BatchManager(filename=ctx.obj['CONFIG_FILE']) mgr.update_job_definition(job_definition)