File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,11 @@ def retrieve(
93
93
str: the ECR URI for the corresponding SageMaker Docker image.
94
94
95
95
Raises:
96
+ NotImplementedError: If the scope is not supported.
96
97
ValueError: If the combination of arguments specified is not supported.
98
+ VulnerableJumpStartModelError: If any of the dependencies required by the script have
99
+ known security vulnerabilities.
100
+ DeprecatedJumpStartModelError: If the version of the model is deprecated.
97
101
"""
98
102
if is_jumpstart_model_input (model_id , model_version ):
99
103
Original file line number Diff line number Diff line change @@ -52,7 +52,11 @@ def retrieve(
52
52
str: the model artifact S3 URI for the corresponding model.
53
53
54
54
Raises:
55
+ NotImplementedError: If the scope is not supported.
55
56
ValueError: If the combination of arguments specified is not supported.
57
+ VulnerableJumpStartModelError: If any of the dependencies required by the script have
58
+ known security vulnerabilities.
59
+ DeprecatedJumpStartModelError: If the version of the model is deprecated.
56
60
"""
57
61
if not jumpstart_utils .is_jumpstart_model_input (model_id , model_version ):
58
62
raise ValueError ("Must specify `model_id` and `model_version` when retrieving script URIs." )
Original file line number Diff line number Diff line change @@ -52,7 +52,11 @@ def retrieve(
52
52
str: the model script URI for the corresponding model.
53
53
54
54
Raises:
55
+ NotImplementedError: If the scope is not supported.
55
56
ValueError: If the combination of arguments specified is not supported.
57
+ VulnerableJumpStartModelError: If any of the dependencies required by the script have
58
+ known security vulnerabilities.
59
+ DeprecatedJumpStartModelError: If the version of the model is deprecated.
56
60
"""
57
61
if not jumpstart_utils .is_jumpstart_model_input (model_id , model_version ):
58
62
raise ValueError ("Must specify `model_id` and `model_version` when retrieving script URIs." )
You can’t perform that action at this time.
0 commit comments