Skip to content

Commit f14d475

Browse files
author
Sergey Ermolin
committed
fixed error: standard import _import uuid_ should be placed before _import botocore_ (wrong-import-order)
1 parent 0dc3088 commit f14d475

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sagemaker/utils.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import time
2626
import json
2727
import abc
28+
import uuid
2829
from datetime import datetime
2930

3031
import botocore
@@ -33,8 +34,6 @@
3334
from sagemaker import deprecations
3435
from sagemaker.session_settings import SessionSettings
3536

36-
import uuid
37-
3837

3938
ECR_URI_PATTERN = r"^(\d+)(\.)dkr(\.)ecr(\.)(.+)(\.)(.*)(/)(.*:.*)$"
4039
MAX_BUCKET_PATHS_COUNT = 5

0 commit comments

Comments
 (0)