Skip to content

PriorityClass

Source code in docs_src/capo_sagemaker/types/priority_class.py
class PriorityClass(TypedDict, closed=True):
    name: NotRequired[
        "capo_sagemaker.types.cluster_scheduler_priority_class_name.ClusterSchedulerPriorityClassName"
    ]
    """<p>Name of the priority class.</p>"""
    weight: NotRequired["capo_sagemaker.types.priority_weight.PriorityWeight"]
    """<p>Weight of the priority class. The value is within a range from 0 to 100, where 0 is the default.</p> <p>A weight of 0 is the lowest priority and 100 is the highest. Weight 0 is the default.</p>"""

name instance-attribute

Name of the priority class.

weight instance-attribute

weight: NotRequired[PriorityWeight]

Weight of the priority class. The value is within a range from 0 to 100, where 0 is the default.

A weight of 0 is the lowest priority and 100 is the highest. Weight 0 is the default.