gemseo.utils.pickle module
Handle saving and loading pickles of objects.
-
from_pickle(file_path)[source]
Load an object from its pickled representation stored on the disk.
- Parameters:
file_path (str | Path) -- The path to the file containing the pickled representation.
- Returns:
The object.
- Return type:
Any
-
to_pickle(obj, file_path)[source]
Save the pickled representation of an object on the disk.
- Parameters:
-
- Return type:
None