We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3337f5d commit 866204cCopy full SHA for 866204c
src/DIRAC/WorkloadManagementSystem/Utilities/JobModel.py
@@ -184,16 +184,6 @@ def checkThatSitesAndBannedSitesAreNotMutuallyExclusive(self) -> Self:
184
raise ValueError("sites and bannedSites are mutually exclusive")
185
return self
186
187
- @field_validator("platform")
188
- def checkPlatform(cls, v: str):
189
- if v:
190
- res = getDIRACPlatforms()
191
- if not res["OK"]:
192
- raise ValueError(res["Message"])
193
- if v not in res["Value"]:
194
- raise ValueError("Invalid platform")
195
- return v
196
-
197
@field_validator("priority")
198
def checkPriorityBounds(cls, v):
199
minPriority = Operations().getValue("JobDescription/MinPriority", 0)
0 commit comments