From 661cb3cb04179c5c89c62c4469320e507239ef5d Mon Sep 17 00:00:00 2001 From: Dylan Brasseur Date: Tue, 10 Oct 2023 09:34:49 +0200 Subject: [PATCH] Added missing retried task status --- packages/python/src/armonik/common/enumwrapper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/python/src/armonik/common/enumwrapper.py b/packages/python/src/armonik/common/enumwrapper.py index 433a52e8a..563c8ca57 100644 --- a/packages/python/src/armonik/common/enumwrapper.py +++ b/packages/python/src/armonik/common/enumwrapper.py @@ -1,6 +1,6 @@ from __future__ import annotations -from ..protogen.common.task_status_pb2 import TaskStatus as RawStatus, _TASKSTATUS, TASK_STATUS_CANCELLED, TASK_STATUS_CANCELLING, TASK_STATUS_COMPLETED, TASK_STATUS_CREATING, TASK_STATUS_DISPATCHED, TASK_STATUS_ERROR, TASK_STATUS_PROCESSED, TASK_STATUS_PROCESSING, TASK_STATUS_SUBMITTED, TASK_STATUS_TIMEOUT, TASK_STATUS_UNSPECIFIED +from ..protogen.common.task_status_pb2 import TaskStatus as RawStatus, _TASKSTATUS, TASK_STATUS_CANCELLED, TASK_STATUS_CANCELLING, TASK_STATUS_COMPLETED, TASK_STATUS_CREATING, TASK_STATUS_DISPATCHED, TASK_STATUS_ERROR, TASK_STATUS_PROCESSED, TASK_STATUS_PROCESSING, TASK_STATUS_SUBMITTED, TASK_STATUS_TIMEOUT, TASK_STATUS_UNSPECIFIED, TASK_STATUS_RETRIED from ..protogen.common.worker_common_pb2 import HealthCheckReply from ..protogen.common.sort_direction_pb2 import SORT_DIRECTION_ASC, SORT_DIRECTION_DESC @@ -27,6 +27,7 @@ def name_from_value(status: RawStatus) -> str: PROCESSED = TASK_STATUS_PROCESSED PROCESSING = TASK_STATUS_PROCESSING SUBMITTED = TASK_STATUS_SUBMITTED + RETRIED = TASK_STATUS_RETRIED TIMEOUT = TASK_STATUS_TIMEOUT UNSPECIFIED = TASK_STATUS_UNSPECIFIED