Skip to content

Commit

Permalink
Expose generate_operators argument to load_plugin_on_server. (#1665)
Browse files Browse the repository at this point in the history
Signed-off-by: paul.profizi <[email protected]>
  • Loading branch information
PProfizi authored Aug 1, 2024
1 parent 0280911 commit 035b41b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansys/dpf/core/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from ansys.dpf.core import server as server_module


def load_plugin_on_server(plugin, server=None, symbol="load_operators"):
def load_plugin_on_server(plugin, server=None, symbol="load_operators", generate_operators=False):
"""Load a DPF Python plugin on the global or given DPF server.
Parameters
Expand Down Expand Up @@ -77,4 +77,5 @@ def load_plugin_on_server(plugin, server=None, symbol="load_operators"):
name=f"py_{plugin_name}",
symbol=symbol,
server=server,
generate_operators=generate_operators,
)

0 comments on commit 035b41b

Please sign in to comment.