Skip to content

Commit e55d1b1

Browse files
author
Ragav Venkatesan
authored
import error fixed
1 parent 7cf83e4 commit e55d1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sagemaker-python-sdk/tensorflow_iris_byom/tensorflow_BYOM_iris.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"outputs": [],
4949
"source": [
50-
"import boto3\n",
50+
"import boto3, re\n",
5151
"assumed_role = boto3.client('sts').get_caller_identity()['Arn']\n",
5252
"role = re.sub(r'^(.+)sts::(\\d+):assumed-role/(.+?)/.*$', r'\\1iam::\\2:role/\\3', assumed_role)"
5353
]

0 commit comments

Comments
 (0)