def job_execute(job_id, data): input = data['input_id'] output = data['output_id'] cluster = data['cluster_id'] configs = data.get('job_configs', {}) return u.render(job_execution=api.execute_job(job_id, input, output, cluster, configs).to_dict())
def job_execute(job_id, input_id, output_id, cluster_id, data): return u.render(job_execution=api.execute_job(job_id, input_id, output_id, cluster_id).to_dict())
def job_execute(job_id, input_id, output_id): return u.render(jobs=api.execute_job(job_id, input_id, output_id))
def job_execute(job_id, data): return u.render(job_execution=api.execute_job(job_id, data).to_dict())