File tree 2 files changed +0
-6
lines changed
2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 40
40
from ads .config import (
41
41
AQUA_TELEMETRY_BUCKET ,
42
42
AQUA_TELEMETRY_BUCKET_NS ,
43
- OCI_MD_SERVICE_ENDPOINT ,
44
43
OCI_ODSC_SERVICE_ENDPOINT ,
45
44
OCI_RESOURCE_PRINCIPAL_VERSION ,
46
45
)
@@ -64,12 +63,8 @@ def __init__(self) -> None:
64
63
if OCI_RESOURCE_PRINCIPAL_VERSION :
65
64
set_auth ("resource_principal" )
66
65
self ._auth = default_signer ({"service_endpoint" : OCI_ODSC_SERVICE_ENDPOINT })
67
- self ._md_auth = default_signer ({"service_endpoint" : OCI_MD_SERVICE_ENDPOINT })
68
66
self .ds_client = oc .OCIClientFactory (** self ._auth ).data_science
69
67
self .compute_client = oc .OCIClientFactory (** default_signer ()).compute
70
- self .model_deployment_client = oc .OCIClientFactory (
71
- ** self ._md_auth
72
- ).model_deployment
73
68
self .logging_client = oc .OCIClientFactory (** default_signer ()).logging_management
74
69
self .identity_client = oc .OCIClientFactory (** default_signer ()).identity
75
70
self .region = extract_region (self ._auth )
Original file line number Diff line number Diff line change 11
11
from ads .common .config import DEFAULT_CONFIG_PATH , DEFAULT_CONFIG_PROFILE , Config , Mode
12
12
13
13
OCI_ODSC_SERVICE_ENDPOINT = os .environ .get ("OCI_ODSC_SERVICE_ENDPOINT" )
14
- OCI_MD_SERVICE_ENDPOINT = os .environ .get ("OCI_MD_SERVICE_ENDPOINT" )
15
14
OCI_IDENTITY_SERVICE_ENDPOINT = os .environ .get ("OCI_IDENTITY_SERVICE_ENDPOINT" )
16
15
NB_SESSION_COMPARTMENT_OCID = os .environ .get ("NB_SESSION_COMPARTMENT_OCID" )
17
16
PROJECT_OCID = os .environ .get ("PROJECT_OCID" ) or os .environ .get ("PIPELINE_PROJECT_OCID" )
You can’t perform that action at this time.
0 commit comments