Skip to content

Commit

Permalink
Add queue_position to ClusterRunResult (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossgray committed Apr 9, 2024
1 parent 04c507e commit f8b5ec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pipeline/cloud/schemas/runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ class ClusterRunResult(ContainerRunResult):

state: RunState

# queue position if run is in 'queued' state
queue_position: int | None = None

class Config:
orm_mode = True

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pipeline-ai"
version = "2.1.4"
version = "2.1.5"
description = "Pipelines for machine learning workloads."
authors = [
"Paul Hetherington <ph@mystic.ai>",
Expand Down

0 comments on commit f8b5ec4

Please sign in to comment.