File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
datacrunch/InferenceClient Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010### Changed
1111
1212- This file and CONTRIBUTING.rst to markdown
13+ - Updated inference status enum from numerical to meaningful string values
1314
1415### Fixed
1516
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ class InferenceClientError(Exception):
1212 pass
1313
1414
15- class AsyncStatus (int , Enum ):
16- Initialized = 0
17- Queue = 1
18- Inference = 2
19- Completed = 3
15+ class AsyncStatus (str , Enum ):
16+ Initialized = "Initialized"
17+ Queue = "Queue"
18+ Inference = "Inference"
19+ Completed = "Completed"
2020
2121
2222@dataclass_json (undefined = Undefined .EXCLUDE )
You can’t perform that action at this time.
0 commit comments