Skip to content

fix: remove unnecessary get caller identity call #3960

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
1 change: 1 addition & 0 deletions src/sagemaker/jumpstart/factory/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ def _add_role_to_kwargs(kwargs: JumpStartEstimatorInitKwargs) -> JumpStartEstima
field_name="role",
field_val=kwargs.role,
sagemaker_session=kwargs.sagemaker_session,
default_value=kwargs.role,
)

return kwargs
Expand Down
1 change: 1 addition & 0 deletions src/sagemaker/jumpstart/factory/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def _add_role_to_kwargs(kwargs: JumpStartModelInitKwargs) -> JumpStartModelInitK
field_name="role",
field_val=kwargs.role,
sagemaker_session=kwargs.sagemaker_session,
default_value=kwargs.role,
)

return kwargs
Expand Down