Skip to content

Commit

Permalink
Add null value for job tier (Azure#34333)
Browse files Browse the repository at this point in the history
  • Loading branch information
needuv authored Feb 15, 2024
1 parent 30b8975 commit a810c3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sdk/ml/azure-ai-ml/azure/ai/ml/constants/_job/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,17 @@ class EntityNames:
Basic = "basic"
Standard = "standard"
Premium = "premium"
Null = "Null"
Null = "null"

class RestNames:
Null = "Null"
Spot = "Spot"
Basic = "Basic"
Standard = "Standard"
Premium = "Premium"

ENTITY_TO_REST = {
EntityNames.Null: RestNames.Null,
EntityNames.Spot: RestNames.Spot,
EntityNames.Basic: RestNames.Basic,
EntityNames.Standard: RestNames.Standard,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class QueueSettings(RestTranslatableMixin, DictMixin):
"""Queue settings for a pipeline job.
:ivar job_tier: Enum to determine the job tier. Possible values include: "Spot", "Basic",
"Standard", "Premium".
"Standard", "Premium", "Null".
:vartype job_tier: str or ~azure.mgmt.machinelearningservices.models.JobTier
:ivar priority: Controls the priority of the job on a compute.
:vartype priority: str
Expand Down

0 comments on commit a810c3c

Please sign in to comment.