Skip to content

Commit 81d03b4

Browse files
allow 'null' to be a value for job tier (#34217)
1 parent 3a024ef commit 81d03b4

File tree

1 file changed

+2
-1
lines changed
  • sdk/ml/azure-ai-ml/azure/ai/ml/constants/_job

1 file changed

+2
-1
lines changed

sdk/ml/azure-ai-ml/azure/ai/ml/constants/_job/job.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ class EntityNames:
119119
Basic = "basic"
120120
Standard = "standard"
121121
Premium = "premium"
122+
Null = "Null"
122123

123124
class RestNames:
124125
Spot = "Spot"
@@ -135,7 +136,7 @@ class RestNames:
135136

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

138-
ALLOWED_NAMES = [EntityNames.Spot, EntityNames.Basic, EntityNames.Standard, EntityNames.Premium]
139+
ALLOWED_NAMES = [EntityNames.Spot, EntityNames.Basic, EntityNames.Standard, EntityNames.Premium, EntityNames.Null]
139140

140141

141142
class JobPriorityValues:

0 commit comments

Comments
 (0)