jangada.serialization.Persistable.load_serialized_data#

classmethod Persistable.load_serialized_data(path: Path | str) Any#

Load serialized data dictionary from HDF5 file.

This is a low-level method that reads an HDF5 file and returns the data dictionary (which can be passed to Serializable.deserialize).

Parameters:
pathPath | str

File path to load from.

Returns:
Any

Deserialized data dictionary.

Raises:
FileNotFoundError

If the file does not exist.

See also

load

High-level load method

save_serialized_data

Save counterpart

Notes

This method is called internally by load(). Users typically use load() instead of calling this directly.