We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57c850 commit 280efe0Copy full SHA for 280efe0
src/sagemaker/jumpstart/hub/utils.py
@@ -106,7 +106,7 @@ def construct_hub_model_reference_arn_from_inputs(
106
info = get_info_from_hub_resource_arn(hub_arn)
107
arn = (
108
f"arn:{info.partition}:sagemaker:{info.region}:{info.account_id}:hub-content/"
109
- f"{info.hub_name}/{HubContentType.MODEL_REFERENCE}/{model_name}/{version}"
+ f"{info.hub_name}/{HubContentType.MODEL_REFERENCE.value}/{model_name}/{version}"
110
)
111
112
return arn
0 commit comments