Skip to content

ServiceJobPreemptionConfiguration

Source code in docs_src/capo_batch/types/service_job_preemption_configuration.py
class ServiceJobPreemptionConfiguration(TypedDict, closed=True):
    preemption_retries_before_termination: NotRequired[
        "capo_batch.types.integer.Integer"
    ]
    """<p>The number of times a service job can be retried after it is preempted. A job will be terminated when preemption retries have been exhausted. If this field is unset, preempted jobs will be requeued an unlimited number of times. </p>"""

preemption_retries_before_termination instance-attribute

preemption_retries_before_termination: NotRequired[Integer]

The number of times a service job can be retried after it is preempted. A job will be terminated when preemption retries have been exhausted. If this field is unset, preempted jobs will be requeued an unlimited number of times.