Skip to content

Commit

Permalink
add missing cancellation code
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Sep 1, 2023
1 parent cd07321 commit ca6216c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ use patch releases for compatibility fixes instead.

## Unreleased

### Fixed

- Added new missing cancellation code (4 = manual cancellation) to enumeration.

## [v1.20.0](https://github.com/allenai/beaker-py/releases/tag/v1.20.0) - 2023-07-28

### Added
Expand Down
1 change: 1 addition & 0 deletions beaker/data_model/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class CanceledCode(IntEnum):
system_preemption = 1
user_preemption = 2
idle = 3
manual_cancellation = 4


class JobStatus(BaseModel):
Expand Down

0 comments on commit ca6216c

Please sign in to comment.