From 9f5db2e4d989b43a372732b4518447990d975432 Mon Sep 17 00:00:00 2001 From: Benedikt Hilmes Date: Wed, 13 Nov 2024 12:28:30 +0100 Subject: [PATCH] update typing --- sisyphus/cleaner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sisyphus/cleaner.py b/sisyphus/cleaner.py index 48c25cc..7a5ab97 100644 --- a/sisyphus/cleaner.py +++ b/sisyphus/cleaner.py @@ -23,6 +23,7 @@ from typing import List, Optional from sisyphus import graph +from sisyphus.job import Job import sisyphus.global_settings as gs @@ -324,7 +325,7 @@ def cleanup_keep_value( def cleanup_unused( - load_from: str = "", job_dirs: List = None, mode: str = "remove", filter_affected: Optional[List[str]] = None + load_from: str = "", job_dirs: List[Job] = None, mode: str = "remove", filter_affected: Optional[List[str]] = None ): """Check work directory and remove all subdirectories which do not belong to the given list of directories. If no input is given it removes everything that is not in the current graph