Changed type hint for version from int to str

This commit is contained in:
Sebastian Kloth 2023-12-26 16:40:43 +01:00
parent e91de71787
commit 32e3541c4b

View File

@ -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.