From 1e3ea655e931f4af96fc87635fc8995ac2f6a6c8 Mon Sep 17 00:00:00 2001 From: kalyanr Date: Thu, 30 Nov 2023 03:20:58 +0530 Subject: [PATCH] rename Signed-off-by: kalyanr --- opensearch_py_ml/ml_commons/ml_commons_client.py | 2 +- .../ml_commons/{connector.py => model_connector.py} | 0 tests/ml_commons/test_connectors.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename opensearch_py_ml/ml_commons/{connector.py => model_connector.py} (100%) diff --git a/opensearch_py_ml/ml_commons/ml_commons_client.py b/opensearch_py_ml/ml_commons/ml_commons_client.py index e9bd09606..938c997fa 100644 --- a/opensearch_py_ml/ml_commons/ml_commons_client.py +++ b/opensearch_py_ml/ml_commons/ml_commons_client.py @@ -13,7 +13,7 @@ from deprecated.sphinx import deprecated from opensearchpy import OpenSearch -from opensearch_py_ml.ml_commons.connector import Connector +from opensearch_py_ml.ml_commons.model_connector import Connector from opensearch_py_ml.ml_commons.ml_common_utils import ( ML_BASE_URI, MODEL_FORMAT_FIELD, diff --git a/opensearch_py_ml/ml_commons/connector.py b/opensearch_py_ml/ml_commons/model_connector.py similarity index 100% rename from opensearch_py_ml/ml_commons/connector.py rename to opensearch_py_ml/ml_commons/model_connector.py diff --git a/tests/ml_commons/test_connectors.py b/tests/ml_commons/test_connectors.py index f3d977db5..0c5173027 100644 --- a/tests/ml_commons/test_connectors.py +++ b/tests/ml_commons/test_connectors.py @@ -11,7 +11,7 @@ from opensearchpy.exceptions import NotFoundError, RequestError from packaging.version import parse as parse_version -from opensearch_py_ml.ml_commons.connector import Connector +from opensearch_py_ml.ml_commons.model_connector import Connector from tests import OPENSEARCH_TEST_CLIENT OPENSEARCH_VERSION = parse_version(os.environ.get("OPENSEARCH_VERSION", "2.11.0"))