File tree Expand file tree Collapse file tree
executorlib/task_scheduler/file Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111def execute_with_pysqa (
1212 command : list ,
13+ cache_directory : str ,
1314 task_dependent_lst : Optional [list [int ]] = None ,
1415 file_name : Optional [str ] = None ,
1516 resource_dict : Optional [dict ] = None ,
1617 config_directory : Optional [str ] = None ,
1718 backend : Optional [str ] = None ,
18- cache_directory : Optional [str ] = None ,
1919) -> Optional [int ]:
2020 """
2121 Execute a command by submitting it to the queuing system
2222
2323 Args:
2424 command (list): The command to be executed.
25+ cache_directory (str): The directory to store the HDF5 files.
2526 task_dependent_lst (list): A list of subprocesses that the current subprocess depends on. Defaults to [].
2627 file_name (str): Name of the HDF5 file which contains the Python function
2728 resource_dict (dict): resource dictionary, which defines the resources used for the execution of the function.
@@ -30,7 +31,6 @@ def execute_with_pysqa(
3031 }
3132 config_directory (str, optional): path to the config directory.
3233 backend (str, optional): name of the backend used to spawn tasks.
33- cache_directory (str): The directory to store the HDF5 files.
3434
3535 Returns:
3636 int: queuing system ID
You can’t perform that action at this time.
0 commit comments