We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d11d73b commit 278acb1Copy full SHA for 278acb1
1 file changed
synth/utils/data_storage.py
@@ -31,10 +31,7 @@ def save_object(
31
fd.write(content)
32
33
34
-
35
-def legacy_load_object(
36
- path: str, **kwargs: Any
37
-) -> Any:
+def legacy_load_object(path: str, **kwargs: Any) -> Any:
38
"""
39
DEPRECATED
40
Load an arbitrary object from the specified file.
@@ -43,9 +40,7 @@ def legacy_load_object(
43
return pickle.load(fd)
44
41
45
42
46
-def legacy_save_object(
47
- path: str, obj: Any, **kwargs: Any
48
-) -> None:
+def legacy_save_object(path: str, obj: Any, **kwargs: Any) -> None:
49
50
51
Save an arbitrary object to the specified path.
0 commit comments