Skip to content
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

Refactoring code related to MLCube CLI options. #350

Merged

Conversation

sergey-serebryakov
Copy link
Contributor

@sergey-serebryakov sergey-serebryakov commented Dec 11, 2023

  • Removing deprecated option definitions from __main__.py (new options are defined in Options class).
  • Moving new option definitions (network, security etc.) to Options class.
  • Removing unused and incorrect code related to parsing options accepting multiple values from the __main__.py file since this functionality is implemented in cli module.

In addition, updating the changed files to comply with python style guidelines.

- Removing deprecated option definitions from `__main__.py` (new options are defined in `Options` class).
- Moving new option definitions (network, security etc.) to `Options` class.
- Removing unused and incorrect code related to parsing options accepting multiple values from the `__main__.py` file since this functionality is implemented in `cli` module.
@sergey-serebryakov sergey-serebryakov requested a review from a team as a code owner December 11, 2023 23:36
Copy link
Contributor

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@sergey-serebryakov sergey-serebryakov merged commit 78199b5 into mlcommons:master Dec 11, 2023
2 checks passed
@sergey-serebryakov sergey-serebryakov deleted the misc/options-refactor branch December 11, 2023 23:38
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant