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

Fix MLCommonClient_client.upload_model #336

Merged

Conversation

rawwar
Copy link
Contributor

@rawwar rawwar commented Nov 6, 2023

Description

Fixes wrong argument passing to _register_model

Issues Resolved

fixes #335

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: kalyan <[email protected]>
Signed-off-by: kalyan <[email protected]>
Signed-off-by: kalyan <[email protected]>
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #336 (53a71cd) into main (4a8a3e7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #336   +/-   ##
=======================================
  Coverage   91.36%   91.36%           
=======================================
  Files          38       38           
  Lines        4237     4237           
=======================================
  Hits         3871     3871           
  Misses        366      366           
Files Coverage Δ
opensearch_py_ml/ml_commons/ml_commons_client.py 84.66% <ø> (ø)

CHANGELOG.md Outdated
@@ -9,6 +9,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Add script to trigger ml-models-release jenkins workflow with generic webhook by @thanawan-atc in ([#211](https://github.com/opensearch-project/opensearch-py-ml/pull/211))
- Add example notebook for tracing and registering a CLIPTextModel to OpenSearch with the Neural Search plugin by @patrickbarnhart in ([#283](https://github.com/opensearch-project/opensearch-py-ml/pull/283))
- Add support for train api functionality by @rawwar in ([#310](https://github.com/opensearch-project/opensearch-py-ml/pull/310))
- fix bug in `MLCommonClient_client.upload_model` by @rawwar in ([#336](https://github.com/opensearch-project/opensearch-py-ml/pull/336))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add this in the ### Fixed section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

Signed-off-by: kalyan <[email protected]>
@dhrubo-os dhrubo-os merged commit fc698a7 into opensearch-project:main Nov 6, 2023
13 checks passed
@rawwar rawwar deleted the kalyan/335-fix-upload-model-func branch November 6, 2023 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] MLCommonClient_client.upload_model passes wrong arguments to register_model
3 participants