executorlib.terminate_task_in_cache#
- executorlib.terminate_task_in_cache(cache_directory: str, cache_key: str, pysqa_config_directory: str | None = None, backend: str | None = None)[source]#
Delete a specific job stored in the cache directory from the queuing system
- Parameters:
cache_directory (str) – The directory to store cache files.
cache_key (str) – The key of the cache file to be deleted.
pysqa_config_directory (str, optional) – path to the pysqa config directory.
backend (str, optional) – name of the backend used to spawn tasks [“slurm”, “flux”].