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(
9393 str: the ECR URI for the corresponding SageMaker Docker image.
9494
9595 Raises:
96+ NotImplementedError: If the scope is not supported.
9697 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.
97101 """
98102 if is_jumpstart_model_input (model_id , model_version ):
99103
Original file line number Diff line number Diff line change @@ -52,7 +52,11 @@ def retrieve(
5252 str: the model artifact S3 URI for the corresponding model.
5353
5454 Raises:
55+ NotImplementedError: If the scope is not supported.
5556 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.
5660 """
5761 if not jumpstart_utils .is_jumpstart_model_input (model_id , model_version ):
5862 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(
5252 str: the model script URI for the corresponding model.
5353
5454 Raises:
55+ NotImplementedError: If the scope is not supported.
5556 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.
5660 """
5761 if not jumpstart_utils .is_jumpstart_model_input (model_id , model_version ):
5862 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