in content/rendering-with-batch/batch/batch.files/job_submission.py [0:0]
def build_job_kwargs(job_name, command):
"""Returns a dictionary with properties for launching a job.
Keyword arguments:
job_name -- name of the job
command -- command to be executed by the job
"""
return {
'jobName': job_name,
'jobQueue': JOB_QUEUE,
'jobDefinition': JOB_DEFINITION,
'containerOverrides': {
'command': command
},
'retryStrategy': {
'attempts': 1
}
}