Skip to content

Commit d02d524

Browse files
malav-shastriMalav Shastrisage-maker
authored
fix: explicitly access enum member values to avoid Python version related regression (aws#4798)
Co-authored-by: Malav Shastri <[email protected]> Co-authored-by: sage-maker <[email protected]>
1 parent 0f196f1 commit d02d524

File tree

1 file changed

+1
-1
lines changed
  • src/sagemaker/jumpstart/hub

1 file changed

+1
-1
lines changed

src/sagemaker/jumpstart/hub/hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def list_sagemaker_public_hub_models(
233233
f"arn:{info.partition}:"
234234
f"sagemaker:{info.region}:"
235235
f"aws:hub-content/{info.hub_name}/"
236-
f"{HubContentType.MODEL}/{model[0]}"
236+
f"{HubContentType.MODEL.value}/{model[0]}"
237237
)
238238
hub_content_summary = {
239239
"hub_content_name": model[0],

0 commit comments

Comments
 (0)