Skip to content

Commit

Permalink
fix(job): add cancelled runs to JobStatus count
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineDao committed Mar 15, 2021
1 parent 4cba90f commit a46572e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions queenbee/job/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,8 @@ class JobStatus(BaseModel):
description='The count of runs that have failed'
)

runs_cancelled: int =Field(
0,
description='The count of runs that have been cancelled'
)

0 comments on commit a46572e

Please sign in to comment.