File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 4040from 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 )
Original file line number Diff line number Diff line change 1111from ads .common .config import DEFAULT_CONFIG_PATH , DEFAULT_CONFIG_PROFILE , Config , Mode
1212
1313OCI_ODSC_SERVICE_ENDPOINT = os .environ .get ("OCI_ODSC_SERVICE_ENDPOINT" )
14- OCI_MD_SERVICE_ENDPOINT = os .environ .get ("OCI_MD_SERVICE_ENDPOINT" )
1514OCI_IDENTITY_SERVICE_ENDPOINT = os .environ .get ("OCI_IDENTITY_SERVICE_ENDPOINT" )
1615NB_SESSION_COMPARTMENT_OCID = os .environ .get ("NB_SESSION_COMPARTMENT_OCID" )
1716PROJECT_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