Skip to content

Commit ac8dd60

Browse files
committed
linter2
1 parent 2e9f76f commit ac8dd60

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sagemaker/jumpstart/utils.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,9 @@ def construct_hub_model_arn_from_inputs(hub_arn: str, model_name: str, version:
894894
"""Constructs a HubContent model arn from the Hub name, model name, and model version"""
895895

896896
info = extract_info_from_hub_content_arn(hub_arn)
897-
arn = f"arn:{info.partition}:sagemaker:{info.region}:{info.account_id}:hub-content/" \
897+
arn = (
898+
f"arn:{info.partition}:sagemaker:{info.region}:{info.account_id}:hub-content/"
898899
f"{info.hub_name}/Model/{model_name}/{version}"
900+
)
899901

900902
return arn

0 commit comments

Comments
 (0)