From f4945c1ef50c51206cc067d9c7964694e0615b20 Mon Sep 17 00:00:00 2001 From: sanderegg <35365065+sanderegg@users.noreply.github.com> Date: Fri, 1 Nov 2024 10:34:58 +0100 Subject: [PATCH] wrong imports --- .../src/simcore_service_dynamic_sidecar/core/utils.py | 4 ++-- .../modules/outputs/_manager.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core/utils.py b/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core/utils.py index 697dc673b8e..4e6f9ee0df5 100644 --- a/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core/utils.py +++ b/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/core/utils.py @@ -7,7 +7,7 @@ from typing import NamedTuple import psutil -from models_library.error_codes import create_error_code +from common_library.error_codes import create_error_code from servicelib.logging_errors import create_troubleshotting_log_kwargs from ..modules.mounted_fs import MountedVolumes @@ -74,7 +74,7 @@ async def async_command( try: stdout, _ = await asyncio.wait_for(proc.communicate(), timeout=timeout) - except asyncio.TimeoutError: + except TimeoutError: proc.terminate() _close_transport(proc) diff --git a/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/outputs/_manager.py b/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/outputs/_manager.py index fc33fe660ac..adf046dd468 100644 --- a/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/outputs/_manager.py +++ b/services/dynamic-sidecar/src/simcore_service_dynamic_sidecar/modules/outputs/_manager.py @@ -6,6 +6,7 @@ from datetime import timedelta from functools import partial +from common_library.errors_classes import OsparcErrorMixin from fastapi import FastAPI from models_library.basic_types import IDStr from models_library.rabbitmq_messages import ProgressType