From 04b08b9d2114b3fa54643bb09a86d861b2539cd1 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Fri, 8 Dec 2023 12:37:37 +0100 Subject: [PATCH] fix: update imports --- bec_plugins/bec_client/hli/spec_hli.py | 4 ++-- bec_plugins/bec_client/startup/post_startup.py | 2 +- bec_plugins/bec_client/startup/pre_startup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bec_plugins/bec_client/hli/spec_hli.py b/bec_plugins/bec_client/hli/spec_hli.py index 5d699c2..79700b2 100644 --- a/bec_plugins/bec_client/hli/spec_hli.py +++ b/bec_plugins/bec_client/hli/spec_hli.py @@ -1,5 +1,5 @@ -from bec_client.scan_manager import ScanReport -from bec_utils.devicemanager import Device +from bec_lib.devicemanager import Device +from bec_lib.scan_report import ScanReport # pylint:disable=undefined-variable # pylint: disable=too-many-arguments diff --git a/bec_plugins/bec_client/startup/post_startup.py b/bec_plugins/bec_client/startup/post_startup.py index b12600d..5ed97ad 100644 --- a/bec_plugins/bec_client/startup/post_startup.py +++ b/bec_plugins/bec_client/startup/post_startup.py @@ -25,7 +25,7 @@ parse the --session argument, add the following lines to the script: # pylint: disable=invalid-name, unused-import, import-error, undefined-variable, unused-variable, unused-argument, no-name-in-module import argparse -from bec_lib.core import bec_logger +from bec_lib import bec_logger logger = bec_logger.logger diff --git a/bec_plugins/bec_client/startup/pre_startup.py b/bec_plugins/bec_client/startup/pre_startup.py index dcfa194..b39c6eb 100644 --- a/bec_plugins/bec_client/startup/pre_startup.py +++ b/bec_plugins/bec_client/startup/pre_startup.py @@ -8,7 +8,7 @@ To set up the BEC client configuration, use the ServiceConfig class. For example to set the configuration file path, add the following lines to the script: import pathlib - from bec_lib.core import ServiceConfig + from bec_lib import ServiceConfig current_path = pathlib.Path(__file__).parent.resolve() CONFIG_PATH = f"{current_path}/"