aws / aws/sagemaker-python-sdk

Make cli handling more useful

Open
#1,784 2 comments 0 reactions 1 assignee Claimed by @nargokul View on GitHub
type: feature request
Dominant language
Python
Stars
2.3k
Forks
1.3k
Avg merge
1d 22h
Merged PRs (30d)
35

Description

Right now, all the training and inference cli is handled through `argparse` which is in battery-included default python but is hard to work with for slightly more complicated cmd args, such as subcommands, lack of type checking etc. There're some nice cli packages in Python ecosystem. One of them is [click](https://click.palletsprojects.com/en/7.x/) that handles the mentioned shortcomings nicely, however, simply replacing an argparse cli with a click equivalent doesn't work in SageMaker Estimator hyperparameters, which is enforcing all the passed args to be string more or less (even booleans don't work by default).

So it'd great to support click.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.