Skip to content

Commit d545e7f

Browse files
committed
Updated inference status enum from numerical to meaningful string values
1 parent 4c34faa commit d545e7f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

datacrunch/InferenceClient/inference_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class InferenceClientError(Exception):
1313

1414

1515
class AsyncStatus(int, Enum):
16-
Initialized = 0
17-
Queue = 1
18-
Inference = 2
19-
Completed = 3
16+
Initialized = "Initialized"
17+
Queue = "Queue"
18+
Inference = "Inference"
19+
Completed = "Completed"
2020

2121

2222
@dataclass_json(undefined=Undefined.EXCLUDE)

0 commit comments

Comments
 (0)