You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Keyword arguments, or **kwargs, are a convenient way of allowing arguments to be passed in without having to define all of them, and we’ve used them in conjunction with our subclasses. However, they make both the code and documentation less readable. The former makes it easier for bugs to go unnoticed and the latter has caused plenty of confusion.
Describe the solution you'd like
As of this writing, there are 36 places where we use **kwargs. The vast majority of these are in estimator and model classes.
Describe alternatives you've considered
If the main concern is around documentation, then another thing to look into would be finding a way with Sphinx to automatically include the parent class parameters, but I didn't find anything along those lines from my Google-searching.
This issue is being closed as part of sunsetting SageMaker Python SDK 2.x.
SDK 2.x is now in maintenance mode, and we are no longer actively triaging or fixing 2.x bugs. All new development is on SDK 3.x, a modular redesign with unified interfaces, separate namespaces, and standardized core functionality.
We'd encourage you to move to 3.x, where this area has been substantially reworked and many long-standing 2.x issues no longer apply. To get started:
Install: pip install sagemaker (3.x is the default)
Activity
Feat: Add optimize to ModelBuilder JS (aws#1474)
feature: model optimization (#4775)
feature: model optimization (aws#4775)
mohamedzeidan2021 commentedon Sep 1, 2026
This issue is being closed as part of sunsetting SageMaker Python SDK 2.x.
SDK 2.x is now in maintenance mode, and we are no longer actively triaging or fixing 2.x bugs. All new development is on SDK 3.x, a modular redesign with unified interfaces, separate namespaces, and standardized core functionality.
We'd encourage you to move to 3.x, where this area has been substantially reworked and many long-standing 2.x issues no longer apply. To get started:
pip install sagemaker(3.x is the default)If you try 3.x and still hit this problem there, change this issue's version tag from 2.x to 3.x and reopen it, and we'll take a look.
If you need further help with 2.x specifically, please reach out to AWS Support: https://console.aws.amazon.com/support/home