File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 35
35
)
36
36
from ads .aqua .model .constants import *
37
37
from ads .aqua .model .entities import *
38
+ from ads .common .auth import default_signer
38
39
from ads .common .oci_resource import SEARCH_TYPE , OCIResource
39
40
from ads .common .utils import get_console_link , is_path_exists
40
41
from ads .config import (
@@ -679,8 +680,8 @@ def register(
679
680
finetuning_container (str): selects service defaults
680
681
681
682
Returns:
682
- DataScienceModel :
683
- The registered model as a DataScienceModel object.
683
+ AquaModel :
684
+ The registered model as a AquaModel object.
684
685
"""
685
686
verified_model_details : DataScienceModel = None
686
687
@@ -838,7 +839,7 @@ def load_license(self, model_id: str) -> AquaModelLicense:
838
839
content = str (
839
840
read_file (
840
841
file_path = f"{ os .path .dirname (artifact_path )} /{ LICENSE_TXT } " ,
841
- auth = self . _auth ,
842
+ auth = default_signer () ,
842
843
)
843
844
)
844
845
You can’t perform that action at this time.
0 commit comments