From 612d71d10e5c162f7ae22e6b9feb8cf36d8c4c1f Mon Sep 17 00:00:00 2001 From: "bodong.yang" Date: Sat, 19 Oct 2024 11:14:42 +0000 Subject: [PATCH] minor fixup --- src/otaclient/grpc/api_v2/ecu_status.py | 2 +- src/otaclient/grpc/api_v2/servicer.py | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/otaclient/grpc/api_v2/ecu_status.py b/src/otaclient/grpc/api_v2/ecu_status.py index ffea97b2e..4baf74b9f 100644 --- a/src/otaclient/grpc/api_v2/ecu_status.py +++ b/src/otaclient/grpc/api_v2/ecu_status.py @@ -23,10 +23,10 @@ from itertools import chain from typing import Dict, Iterable, TypeVar -from otaclient.api_v2._types import convert_status from otaclient.app.configs import config as cfg from otaclient.app.configs import ecu_info, server_cfg from otaclient.configs import ECUContact +from otaclient.grpc.api_v2._types import convert_status from otaclient.stats_monitor import OTAClientStatsCollector from otaclient_api.v2 import types as api_types from otaclient_api.v2.api_caller import ECUNoResponse, OTAClientCall diff --git a/src/otaclient/grpc/api_v2/servicer.py b/src/otaclient/grpc/api_v2/servicer.py index e936d9bfb..fff08f297 100644 --- a/src/otaclient/grpc/api_v2/servicer.py +++ b/src/otaclient/grpc/api_v2/servicer.py @@ -25,11 +25,12 @@ from typing import Dict from otaclient._types import OTAStatus, UpdatePhase -from otaclient.api_v2.ecu_status import ECUStatusStorage, ECUTracker -from otaclient.api_v2.otaproxy_ctx import OTAProxyContext, OTAProxyLauncher from otaclient.app.configs import config as cfg -from otaclient.app.configs import ecu_info, proxy_info, server_cfg +from otaclient.app.configs import server_cfg from otaclient.configs import ECUContact +from otaclient.configs.cfg import ecu_info, proxy_info +from otaclient.grpc.api_v2.ecu_status import ECUStatusStorage, ECUTracker +from otaclient.grpc.api_v2.otaproxy_ctx import OTAProxyContext, OTAProxyLauncher from otaclient.otaclient import OTAClient, OTAClientControlFlags from otaclient.stats_monitor import OTAClientStatsCollector from otaclient_api.v2 import types as api_types