From 5c5c4281a984cd935b848a71d2e018a409c33218 Mon Sep 17 00:00:00 2001 From: Jonghwa Lee Date: Tue, 26 Nov 2024 16:02:19 +0900 Subject: [PATCH] [tools/mec] Change the module name to match the package name. (#14365) It changes the module name from 'circle_adapter' to the package name, 'module_explorer_circle'. ONE-DCO-1.0-Signed-off-by: Jonghwa Lee --- .../circle_schema_generated.py | 0 .../src/{circle_adapter => model_explorer_circle}/main.py | 2 +- tools/model_explorer_circle/tests/test_package.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename tools/model_explorer_circle/src/{circle_adapter => model_explorer_circle}/circle_schema_generated.py (100%) rename tools/model_explorer_circle/src/{circle_adapter => model_explorer_circle}/main.py (99%) diff --git a/tools/model_explorer_circle/src/circle_adapter/circle_schema_generated.py b/tools/model_explorer_circle/src/model_explorer_circle/circle_schema_generated.py similarity index 100% rename from tools/model_explorer_circle/src/circle_adapter/circle_schema_generated.py rename to tools/model_explorer_circle/src/model_explorer_circle/circle_schema_generated.py diff --git a/tools/model_explorer_circle/src/circle_adapter/main.py b/tools/model_explorer_circle/src/model_explorer_circle/main.py similarity index 99% rename from tools/model_explorer_circle/src/circle_adapter/main.py rename to tools/model_explorer_circle/src/model_explorer_circle/main.py index 2f8c6a16d8b..976d1e10247 100644 --- a/tools/model_explorer_circle/src/circle_adapter/main.py +++ b/tools/model_explorer_circle/src/model_explorer_circle/main.py @@ -17,7 +17,7 @@ from typing import Dict, Optional from model_explorer import Adapter, AdapterMetadata, ModelExplorerGraphs, graph_builder -from circle_adapter import circle_schema_generated as circle_schema +from model_explorer_circle import circle_schema_generated as circle_schema class CircleAdapter(Adapter): diff --git a/tools/model_explorer_circle/tests/test_package.py b/tools/model_explorer_circle/tests/test_package.py index 1c01486c8d2..70f070e6596 100644 --- a/tools/model_explorer_circle/tests/test_package.py +++ b/tools/model_explorer_circle/tests/test_package.py @@ -14,7 +14,7 @@ import unittest -from circle_adapter.main import CircleAdapter +from model_explorer_circle.main import CircleAdapter class SimpleTestPackage(unittest.TestCase):