Skip to content

Commit

Permalink
allow 'null' to be a value for job tier (Azure#34217)
Browse files Browse the repository at this point in the history
  • Loading branch information
TajiHarrisMicrosoft authored Feb 8, 2024
1 parent 3a024ef commit 81d03b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 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,6 +119,7 @@ class EntityNames:
Basic = "basic"
Standard = "standard"
Premium = "premium"
Null = "Null"

class RestNames:
Spot = "Spot"
Expand All @@ -135,7 +136,7 @@ class RestNames:

REST_TO_ENTITY = {v: k for k, v in ENTITY_TO_REST.items()}

ALLOWED_NAMES = [EntityNames.Spot, EntityNames.Basic, EntityNames.Standard, EntityNames.Premium]
ALLOWED_NAMES = [EntityNames.Spot, EntityNames.Basic, EntityNames.Standard, EntityNames.Premium, EntityNames.Null]


class JobPriorityValues:
Expand Down

0 comments on commit 81d03b4

Please sign in to comment.