Skip to content

Commit

Permalink
Add Cluster.require_preemptible_tasks field
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed May 28, 2024
1 parent 4393e03 commit 32c9a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use patch releases for compatibility fixes instead.
### Added

- Added `Secret.author_id` field.
- Added `Cluster.require_preemptible_tasks` field.

## [v1.26.12](https://github.com/allenai/beaker-py/releases/tag/v1.26.12) - 2024-05-10

Expand Down
1 change: 1 addition & 0 deletions beaker/data_model/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Cluster(BaseModel):
allow_preemptible_restriction_exceptions: Optional[bool] = None
compute_source: Optional[str] = None
max_job_timeout: Optional[int] = None
require_preemptible_tasks: Optional[bool] = None

@field_validator("validated")
def _validate_datetime(cls, v: Optional[datetime]) -> Optional[datetime]:
Expand Down

0 comments on commit 32c9a73

Please sign in to comment.