Skip to content

Commit 7cf83e4

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sagemaker-python-sdk/mxnet_mnist_byom/mxnet_mnist.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
},
6666
"outputs": [],
6767
"source": [
68-
"import boto3\n",
68+
"import boto3, re\n",
6969
"assumed_role = boto3.client('sts').get_caller_identity()['Arn']\n",
7070
"role = re.sub(r'^(.+)sts::(\\d+):assumed-role/(.+?)/.*$', r'\\1iam::\\2:role/\\3', assumed_role)"
7171
]

0 commit comments

Comments
 (0)