Skip to content

Commit 86156bb

Browse files
committed
remove role default
1 parent 0e42e28 commit 86156bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3556,7 +3556,7 @@ def get_caller_identity_arn(self):
35563556
)
35573557

35583558
# First, try to find role in userSettings
3559-
if user_profile_desc.get("UserSettings", {}).get("ExecutionRole", None):
3559+
if user_profile_desc.get("UserSettings", {}).get("ExecutionRole"):
35603560
return user_profile_desc["UserSettings"]["ExecutionRole"]
35613561

35623562
# If not found, fallback to the domain

0 commit comments

Comments
 (0)