Skip to content

Commit 1103136

Browse files
committed
Updated inference status enum from numerical to meaningful string values
1 parent 1b2dc9c commit 1103136

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Changelog
22
=========
33

4+
* Updated inference status enum from numerical to meaningful string values
5+
46
v1.12.0 (2025-05-12)
57
--------------------
68

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)