refactor/data_backend #12

Merged
jkuhl merged 36 commits from refactor/data_backend into develop 2025-12-04 15:47:45 +01:00
Showing only changes of commit 294df0a6c9 - Show all commits

cleaner implementation

Justus Kuhlmann 2025-12-04 12:07:42 +01:00
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -14,9 +14,7 @@ def get(path: str, file: str) -> None:
def save(path: str, message: str, files: Optional[list[str]]=None) -> None:
if files is None:
files = path
else:
if files is not None:
files = [os.path.join(path, f) for f in files]
dl.save(files, message=message, dataset=path)
return