Skip to content

Commit 83e34f6

Browse files
Removing MD client
1 parent 0a867c7 commit 83e34f6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

ads/aqua/app.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
from ads.config import (
4141
AQUA_TELEMETRY_BUCKET,
4242
AQUA_TELEMETRY_BUCKET_NS,
43-
OCI_MD_SERVICE_ENDPOINT,
4443
OCI_ODSC_SERVICE_ENDPOINT,
4544
OCI_RESOURCE_PRINCIPAL_VERSION,
4645
)
@@ -64,12 +63,8 @@ def __init__(self) -> None:
6463
if OCI_RESOURCE_PRINCIPAL_VERSION:
6564
set_auth("resource_principal")
6665
self._auth = default_signer({"service_endpoint": OCI_ODSC_SERVICE_ENDPOINT})
67-
self._md_auth = default_signer({"service_endpoint": OCI_MD_SERVICE_ENDPOINT})
6866
self.ds_client = oc.OCIClientFactory(**self._auth).data_science
6967
self.compute_client = oc.OCIClientFactory(**default_signer()).compute
70-
self.model_deployment_client = oc.OCIClientFactory(
71-
**self._md_auth
72-
).model_deployment
7368
self.logging_client = oc.OCIClientFactory(**default_signer()).logging_management
7469
self.identity_client = oc.OCIClientFactory(**default_signer()).identity
7570
self.region = extract_region(self._auth)

ads/config.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
from ads.common.config import DEFAULT_CONFIG_PATH, DEFAULT_CONFIG_PROFILE, Config, Mode
1212

1313
OCI_ODSC_SERVICE_ENDPOINT = os.environ.get("OCI_ODSC_SERVICE_ENDPOINT")
14-
OCI_MD_SERVICE_ENDPOINT = os.environ.get("OCI_MD_SERVICE_ENDPOINT")
1514
OCI_IDENTITY_SERVICE_ENDPOINT = os.environ.get("OCI_IDENTITY_SERVICE_ENDPOINT")
1615
NB_SESSION_COMPARTMENT_OCID = os.environ.get("NB_SESSION_COMPARTMENT_OCID")
1716
PROJECT_OCID = os.environ.get("PROJECT_OCID") or os.environ.get("PIPELINE_PROJECT_OCID")

0 commit comments

Comments
 (0)