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

Add plugins.py module with load_plugin_on_server helper #1600

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

PProfizi
Copy link
Contributor

This PR proposes a new module called plugins aimed at management of DPF Python plugins.

Here the helper load_plugin_on_server allows to automate the steps required to send a Python plugin server-side and load it correctly.

It is based on the idea that DPF Python plugins are shipped as Python libraries to install in the active Python virtual environment.

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
@PProfizi PProfizi added the enhancement New feature or request label May 31, 2024
@PProfizi PProfizi added this to the v0.12.2 milestone May 31, 2024
@PProfizi PProfizi self-assigned this May 31, 2024
Copy link

codecov bot commented May 31, 2024

Codecov Report

Attention: Patch coverage is 24.00000% with 19 lines in your changes are missing coverage. Please review.

Project coverage is 81.92%. Comparing base (a6943c2) to head (f43c0f6).
Report is 10 commits behind head on master.

Current head f43c0f6 differs from pull request most recent head 15e7539

Please upload reports for the commit 15e7539 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1600      +/-   ##
==========================================
+ Coverage   80.12%   81.92%   +1.79%     
==========================================
  Files          82       83       +1     
  Lines        9671     9721      +50     
==========================================
+ Hits         7749     7964     +215     
+ Misses       1922     1757     -165     

@PProfizi PProfizi merged commit a5364b1 into master Jun 4, 2024
43 checks passed
@PProfizi PProfizi deleted the feat/load_plugin_on_server branch June 4, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants