Skip to content

JobTimeout

Source code in docs_src/capo_batch/types/job_timeout.py
class JobTimeout(TypedDict, closed=True):
    attempt_duration_seconds: NotRequired["capo_batch.types.integer.Integer"]
    """<p>The job timeout time (in seconds) that's measured from the job attempt's <code>startedAt</code> timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.</p> <p>For array jobs, the timeout applies to the child jobs, not to the parent array job.</p> <p>For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.</p>"""

attempt_duration_seconds instance-attribute

attempt_duration_seconds: NotRequired[Integer]

The job timeout time (in seconds) that's measured from the job attempt's startedAt timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.

For array jobs, the timeout applies to the child jobs, not to the parent array job.

For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.