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