Add support for builtin types for get_value and set_value#26
Merged
Conversation
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
…med tuple Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
…-get-set-panel-value
Contributor
jfriedri-ni
commented
May 14, 2025
jfriedri-ni
left a comment
Collaborator
Author
There was a problem hiding this comment.
Here are some of the larger tradeoffs and decisions we need to make.
jfriedri-ni
commented
May 14, 2025
bkeryan
requested changes
May 14, 2025
csjall
reviewed
May 14, 2025
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
…hannel' Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
bkeryan
reviewed
May 15, 2025
bkeryan
reviewed
May 15, 2025
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
…can access DESCRIPTOR Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
jfriedri-ni
commented
May 16, 2025
jfriedri-ni
left a comment
Collaborator
Author
There was a problem hiding this comment.
Assuming we want a Protocol or an ABC, I'm unsure how to correctly appease the type checker given how the code uses the converters.
bkeryan
reviewed
May 16, 2025
bkeryan
reviewed
May 16, 2025
mikeprosserni
requested changes
May 19, 2025
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
… is too difficult (for me) Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
…ts_value Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
…-get-set-panel-value
mikeprosserni
approved these changes
May 20, 2025
bkeryan
reviewed
May 20, 2025
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
Signed-off-by: Joe Friedrichsen <114173023+jfriedri-ni@users.noreply.github.com>
bkeryan
reviewed
May 21, 2025
Signed-off-by: Brad Keryan <brad.keryan@ni.com>
bkeryan
approved these changes
May 21, 2025
jfriedri-ni
commented
May 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this Pull Request accomplish?
This PR implements getting and setting panel values that use builtin Python scalar-like types
With partial support for
And a baseline extensible converter collection.
Why should this Pull Request be merged?
This is core functionality for the package.
What testing has been done?
New tests
test___unopened_panel___set_value___sets_valuetest___unopened_panel___get_unset_value___raises_exceptiontest___unopened_panel___get_set_value___gets_valuetest___builtin_scalar_types___set_value___gets_same_valueHand test
placeholder.pywith a genuineNI.PythonPanel.V1.Service.exerunning