From 32e3541c4bf6fb462688785ea51f711cee6ccd8b Mon Sep 17 00:00:00 2001 From: Sebastian Kloth Date: Tue, 26 Dec 2023 16:40:43 +0100 Subject: [PATCH] Changed type hint for version from int to str --- src/mdevaluate/autosave.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdevaluate/autosave.py b/src/mdevaluate/autosave.py index 9666d5e..9195eef 100644 --- a/src/mdevaluate/autosave.py +++ b/src/mdevaluate/autosave.py @@ -142,7 +142,7 @@ def load_data(filename): def autosave_data( - nargs: int, kwargs_keys: Optional[Iterable[str]] = None, version: Optional[int] = None + nargs: int, kwargs_keys: Optional[Iterable[str]] = None, version: Optional[str] = None ) -> Callable: """ Enable autosaving of results for a function.