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

[OV JS] Expose Model.setFriendlyName and Model.getFriendlyName methods to Node.js api #23743

Merged
merged 6 commits into from
Apr 17, 2024

Conversation

qxprakash
Copy link
Contributor

This fixes #23566

Implemented Model.setFriendlyName and Model.getFriendlyName in Node.js api

  • Added Parameter Validation
  • Added Tests in model.test.js

@qxprakash qxprakash requested a review from a team as a code owner March 28, 2024 10:32
@github-actions github-actions bot added the category: JS API OpenVino JS API Bindings label Mar 28, 2024
@qxprakash
Copy link
Contributor Author

@vishniakov-nikolai @almilosz , I have grouped getFriendlyName and setFriendlyName tests into a single describe block , please let me know your feedback on my PR , Thanks.

Best Regards
Prakash

Copy link
Contributor

@vishniakov-nikolai vishniakov-nikolai left a comment

Choose a reason for hiding this comment

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

Looks good, minor comments. Please, check clang formatter in your IDE.

src/bindings/js/node/include/model_wrap.hpp Outdated Show resolved Hide resolved
src/bindings/js/node/include/model_wrap.hpp Outdated Show resolved Hide resolved
src/bindings/js/node/include/model_wrap.hpp Outdated Show resolved Hide resolved
src/bindings/js/node/include/model_wrap.hpp Outdated Show resolved Hide resolved
src/bindings/js/node/src/model_wrap.cpp Outdated Show resolved Hide resolved
src/bindings/js/node/src/model_wrap.cpp Outdated Show resolved Hide resolved
@qxprakash
Copy link
Contributor Author

Looks good, minor comments. Please, check clang formatter in your IDE.

Hi @vishniakov-nikolai Thanks for your feedback , I have made the suggested fixes , I will look into my clang formatter config in vs code.

@qxprakash
Copy link
Contributor Author

qxprakash commented Mar 28, 2024

@vishniakov-nikolai there were merge conflicts , while resolving it through UI I missed few syntax in the tests file , which was fixed in the last commit, I added few more formatting fixes in the tests file, ran eslint --fix --no-ignore .

Copy link
Contributor

@vishniakov-nikolai vishniakov-nikolai left a comment

Choose a reason for hiding this comment

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

Great! LGTM after green CI.

@vishniakov-nikolai vishniakov-nikolai added this to the 2024.2 milestone Apr 3, 2024
@almilosz
Copy link
Contributor

almilosz commented Apr 9, 2024

build_jenkins

@vishniakov-nikolai vishniakov-nikolai added this pull request to the merge queue Apr 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 16, 2024
@almilosz almilosz added this pull request to the merge queue Apr 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 16, 2024
@almilosz almilosz added this pull request to the merge queue Apr 17, 2024
Merged via the queue into openvinotoolkit:master with commit fd59da5 Apr 17, 2024
108 checks passed
alvoron pushed a commit to alvoron/openvino that referenced this pull request Apr 29, 2024
…s to Node.js api (openvinotoolkit#23743)

This fixes openvinotoolkit#23566   

Implemented Model.setFriendlyName and Model.getFriendlyName in Node.js
api

- Added Parameter Validation
- Added Tests in model.test.js

---------

Co-authored-by: Vishniakov Nikolai <nikolai.vishniakov@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: JS API OpenVino JS API Bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Good First Issue]: Expose Model get/set _friendly_name() method to Node.js API
3 participants