From df77ed2dc0f377825eaa7779525db4c2b2784181 Mon Sep 17 00:00:00 2001 From: nguu0123 Date: Wed, 5 Jun 2024 10:34:57 +0300 Subject: [PATCH] small update --- qoa4ml_lib/qoa4ml/observability/odop_obs/node_aggregator.py | 2 -- qoa4ml_lib/qoa4ml/reports/ml_reports.py | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/qoa4ml_lib/qoa4ml/observability/odop_obs/node_aggregator.py b/qoa4ml_lib/qoa4ml/observability/odop_obs/node_aggregator.py index 2bfdb75..29b2d85 100644 --- a/qoa4ml_lib/qoa4ml/observability/odop_obs/node_aggregator.py +++ b/qoa4ml_lib/qoa4ml/observability/odop_obs/node_aggregator.py @@ -1,6 +1,5 @@ import logging import socket -import sys from datetime import datetime from threading import Thread from typing import TYPE_CHECKING @@ -20,7 +19,6 @@ format="%(asctime)s:%(levelname)s -- %(message)s", level=logging.INFO ) -sys.path.append(ODOP_PATH) DEFAULT_DATABASE_FOLDER = ODOP_PATH + "metric_database/" make_folder(DEFAULT_DATABASE_FOLDER) METRICS_URL_PATH = "/metrics" diff --git a/qoa4ml_lib/qoa4ml/reports/ml_reports.py b/qoa4ml_lib/qoa4ml/reports/ml_reports.py index 086befb..867b66b 100644 --- a/qoa4ml_lib/qoa4ml/reports/ml_reports.py +++ b/qoa4ml_lib/qoa4ml/reports/ml_reports.py @@ -3,10 +3,9 @@ from typing import Dict, List from uuid import UUID, uuid4 -from qoa4ml.lang.datamodel_enum import ReportTypeEnum - from ..config.configs import ClientInfo from ..lang.common_models import Metric +from ..lang.datamodel_enum import ReportTypeEnum from ..reports.ml_report_model import ( BaseReport, GeneralMlInferenceReport,