diff --git a/executorlib/executor/flux.py b/executorlib/executor/flux.py index 5fcfc030..fe29971e 100644 --- a/executorlib/executor/flux.py +++ b/executorlib/executor/flux.py @@ -334,6 +334,8 @@ def __init__( {k: v for k, v in default_resource_dict.items() if k not in resource_dict} ) if not plot_dependency_graph: + import pysqa # noqa + from executorlib.task_scheduler.file.task_scheduler import ( create_file_executor, ) diff --git a/executorlib/executor/slurm.py b/executorlib/executor/slurm.py index fa75b10b..2c0d70ee 100644 --- a/executorlib/executor/slurm.py +++ b/executorlib/executor/slurm.py @@ -151,6 +151,8 @@ def __init__( {k: v for k, v in default_resource_dict.items() if k not in resource_dict} ) if not plot_dependency_graph: + import pysqa # noqa + from executorlib.task_scheduler.file.task_scheduler import ( create_file_executor, )