Skip to content

Commit

Permalink
relax Docker layer upload/download status data model (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh authored Nov 14, 2024
1 parent c58c5e9 commit e8eb8c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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

- Relaxed requirements on Docker layer upload/download status strings.

## [v1.32.1](https://github.com/allenai/beaker-py/releases/tag/v1.32.1) - 2024-11-01

### Added
Expand Down
4 changes: 2 additions & 2 deletions beaker/data_model/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class DockerLayerDownloadStatus(StrEnum):

class DockerLayerUploadState(BaseModel):
id: str
status: DockerLayerUploadStatus
status: str
progress_detail: DockerLayerProgress
progress: Optional[str] = None

Expand All @@ -101,7 +101,7 @@ def _validate_status(cls, v: str) -> str:

class DockerLayerDownloadState(BaseModel):
id: str
status: DockerLayerDownloadStatus
status: str
progress_detail: DockerLayerProgress
progress: Optional[str] = None

Expand Down

0 comments on commit e8eb8c7

Please sign in to comment.