@@ -63,6 +63,7 @@ class SlurmClusterExecutor(BaseExecutor):
6363 plot_dependency_graph (bool): Plot the dependencies of multiple future objects without executing them. For
6464 debugging purposes and to get an overview of the specified dependencies.
6565 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
66+ export_workflow_filename (str): Name of the file to store the exported workflow graph in.
6667 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
6768
6869 Examples:
@@ -101,6 +102,7 @@ def __init__(
101102 refresh_rate : float = 0.01 ,
102103 plot_dependency_graph : bool = False ,
103104 plot_dependency_graph_filename : Optional [str ] = None ,
105+ export_workflow_filename : Optional [str ] = None ,
104106 log_obj_size : bool = False ,
105107 ):
106108 """
@@ -146,6 +148,7 @@ def __init__(
146148 plot_dependency_graph (bool): Plot the dependencies of multiple future objects without executing them. For
147149 debugging purposes and to get an overview of the specified dependencies.
148150 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
151+ export_workflow_filename (str): Name of the file to store the exported workflow graph in.
149152 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
150153
151154 """
@@ -225,6 +228,7 @@ def __init__(
225228 refresh_rate = refresh_rate ,
226229 plot_dependency_graph = plot_dependency_graph ,
227230 plot_dependency_graph_filename = plot_dependency_graph_filename ,
231+ export_workflow_filename = export_workflow_filename ,
228232 )
229233 )
230234
@@ -275,6 +279,7 @@ class SlurmJobExecutor(BaseExecutor):
275279 plot_dependency_graph (bool): Plot the dependencies of multiple future objects without executing them. For
276280 debugging purposes and to get an overview of the specified dependencies.
277281 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
282+ export_workflow_filename (str): Name of the file to store the exported workflow graph in.
278283 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
279284
280285 Examples:
@@ -312,6 +317,7 @@ def __init__(
312317 refresh_rate : float = 0.01 ,
313318 plot_dependency_graph : bool = False ,
314319 plot_dependency_graph_filename : Optional [str ] = None ,
320+ export_workflow_filename : Optional [str ] = None ,
315321 log_obj_size : bool = False ,
316322 ):
317323 """
@@ -360,6 +366,7 @@ def __init__(
360366 plot_dependency_graph (bool): Plot the dependencies of multiple future objects without executing them. For
361367 debugging purposes and to get an overview of the specified dependencies.
362368 plot_dependency_graph_filename (str): Name of the file to store the plotted graph in.
369+ export_workflow_filename (str): Name of the file to store the exported workflow graph in.
363370 log_obj_size (bool): Enable debug mode which reports the size of the communicated objects.
364371
365372 """
@@ -394,6 +401,7 @@ def __init__(
394401 refresh_rate = refresh_rate ,
395402 plot_dependency_graph = plot_dependency_graph ,
396403 plot_dependency_graph_filename = plot_dependency_graph_filename ,
404+ export_workflow_filename = export_workflow_filename ,
397405 )
398406 )
399407 else :
0 commit comments