Skip to content

Commit

Permalink
Use OpenAPI definition for prefer field
Browse files Browse the repository at this point in the history
  • Loading branch information
ndevenish authored Sep 6, 2023
1 parent ef9503c commit 8d3e126
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zocalo/util/slurm/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ class Config:
None, description="Request a specific partition for the resource allocation."
)
prefer: Optional[str] = Field(
None, description="Request to preferentially use one of the selected partitions."
None,
description="Comma delimited list of features for scheduler to prefer but not a strict requirement like a constraint. Value can be used for job submission but is only displayed for PENDING jobs.",
)
priority: Optional[str] = Field(
None, description="Request a specific job priority."
Expand Down

0 comments on commit 8d3e126

Please sign in to comment.