Skip to content

Commit 278acb1

Browse files
committed
Fix formatting
1 parent d11d73b commit 278acb1

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

synth/utils/data_storage.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ def save_object(
3131
fd.write(content)
3232

3333

34-
35-
def legacy_load_object(
36-
path: str, **kwargs: Any
37-
) -> Any:
34+
def legacy_load_object(path: str, **kwargs: Any) -> Any:
3835
"""
3936
DEPRECATED
4037
Load an arbitrary object from the specified file.
@@ -43,9 +40,7 @@ def legacy_load_object(
4340
return pickle.load(fd)
4441

4542

46-
def legacy_save_object(
47-
path: str, obj: Any, **kwargs: Any
48-
) -> None:
43+
def legacy_save_object(path: str, obj: Any, **kwargs: Any) -> None:
4944
"""
5045
DEPRECATED
5146
Save an arbitrary object to the specified path.

0 commit comments

Comments
 (0)