From 374c543c75a2875e2654544ad852b70e02aeca4d Mon Sep 17 00:00:00 2001 From: Andrei Neagu Date: Thu, 1 Aug 2024 12:46:16 +0200 Subject: [PATCH] changed back import --- .../src/servicelib/long_running_tasks/_task.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/service-library/src/servicelib/long_running_tasks/_task.py b/packages/service-library/src/servicelib/long_running_tasks/_task.py index 88960cb6327a..6c6095f29d5d 100644 --- a/packages/service-library/src/servicelib/long_running_tasks/_task.py +++ b/packages/service-library/src/servicelib/long_running_tasks/_task.py @@ -9,10 +9,7 @@ from typing import Any, Protocol from uuid import uuid4 -from models_library.api_schemas_long_running_tasks.base import ( - ProgressPercent, - TaskProgress, -) +from models_library.api_schemas_long_running_tasks.base import ProgressPercent from pydantic import PositiveFloat from ._errors import ( @@ -22,7 +19,7 @@ TaskNotCompletedError, TaskNotFoundError, ) -from ._models import TaskId, TaskName, TaskResult, TaskStatus, TrackedTask +from ._models import TaskId, TaskName, TaskProgress, TaskResult, TaskStatus, TrackedTask logger = logging.getLogger(__name__)