-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from pasqal-io/dev
[RELEASE] 0.12.5
- Loading branch information
Showing
16 changed files
with
470 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,33 @@ | ||
from enum import Enum | ||
|
||
|
||
class BatchStatus(Enum): | ||
PENDING = "PENDING" | ||
RUNNING = "RUNNING" | ||
DONE = "DONE" | ||
ERROR = "ERROR" | ||
CANCELED = "CANCELED" | ||
TIMED_OUT = "TIMED_OUT" | ||
|
||
|
||
class JobStatus(Enum): | ||
PENDING = "PENDING" | ||
RUNNING = "RUNNING" | ||
DONE = "DONE" | ||
ERROR = "ERROR" | ||
CANCELED = "CANCELED" | ||
|
||
|
||
class QueuePriority(Enum): | ||
""" | ||
Values represent the queue a value will be written to, each priority | ||
represents the order of preference batches will be executed. | ||
HIGH being the quickest | ||
MEDIUM being a lower tier | ||
LOW being the lowest tier | ||
""" | ||
|
||
LOW = "LOW" | ||
MEDIUM = "MEDIUM" | ||
HIGH = "HIGH" |
Oops, something went wrong.