-
Notifications
You must be signed in to change notification settings - Fork 23
Allow GenericDataContainer as input/output of a CustomOperator and fix dpf-site.zip update #1376
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ceb7ba8
Make available_operator_names available at root level
PProfizi f5f9ad8
Add typehint to get_or_create_server
PProfizi 9d008bf
Fix get_api_for_type argument naming
PProfizi 7f7e3f1
Allow GenericDataContainer as output of custom_operator
PProfizi 2e1ad5f
Add test and add GDC as input. Waiting for dpf-site.zip update feature
PProfizi 950780e
Merge branch 'master' into fix/custom_plugin_fixes
PProfizi 382528e
Change update of dpf-site.zip to only change ansys-dpf-core (WIP)
PProfizi 1825753
Update of dpf-site.zip works for non-editable install of ansys-dpf-core
PProfizi 0168154
Use update of dpf-site.zip in test_python_plugins.py
PProfizi 248e988
Fix type_to_input method for generic_data_container in _custom_operat…
PProfizi 34e00a2
Working dpf-site.zip update when ansys-dpf-core installed non-editable
PProfizi 842eeeb
Working update of dpf-site.zip for both editable and non-editable ins…
PProfizi 884e5ec
Merge branch 'master' into fix/custom_plugin_fixes
PProfizi f85a7ab
Skip test for DPF<7.0
PProfizi 2db78ed
Merge remote-tracking branch 'origin/fix/custom_plugin_fixes' into fi…
PProfizi 8ca296c
Add test_set_get_int_generic_data_container
PProfizi 5219ccc
Revert "Add test_set_get_int_generic_data_container"
PProfizi 0ec64b6
Change operator.get_output to return None when response from server i…
PProfizi 7e11a47
Skip LegacyGrpc in tests on GenericDataContainer as output of an Oper…
PProfizi 36bdaa2
Remove duplicate
PProfizi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PProfizi is it tested somewhere else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cbellot000 CodeCov says yes, which is weird because it is not tested explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cbellot000 BTW why do we have a
type_to_outputspecific to the custom operators?Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cbellot000 I just realized that to be be able to test this (and for this to even work), the changes need to be propagated to
dpf-site.zip.So either I add the capability to update the
dpf-site.zipbased on the current venv as we discussed previously, and use it at the start oftest_python_plugins.py,or we have to merge it first, then wait for a server sync loop to put it in
dpf-site.zipand only then add the tests.I'd tend to go towards the first proposal, which means I have to code and merge a PR with the
dpf-site.zipupdate feature before this one.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1379
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see then, you can maybe add the test ad mark it as skip this way we can remove the skip later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand, where would you put "external_operator_put_out_generic_data_container" instead?