- submit_job(cmd: List[str], job_name: str, debug: bool = False, profile: str = False, attempts: int = 5, parent_job_ids: Optional[List[str]] = None, num_array_jobs: Optional[int] = None, use_gpu: bool = False, job_queue: Optional[str] = None, job_def: Optional[str] = None) str #
Submit a job to run on AWS Batch.
debug (bool) – if True, run the command using a ptvsd wrapper which sets up a remote VS Code Python debugger server
profile (str) – if True, run the command using kernprof, a line profiler
attempts (int) – the number of times to try running the command which is useful in case of failure.
use_gpu (bool) – if True, run the job in a GPU-enabled queue
job_name (str) –
- Return type