From eb6a4a36518fa68b032510a9b3f82cf856c98cbb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 07:19:58 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- executorlib/cache/hdf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/executorlib/cache/hdf.py b/executorlib/cache/hdf.py index 7f0af98f..9e8c8798 100644 --- a/executorlib/cache/hdf.py +++ b/executorlib/cache/hdf.py @@ -24,9 +24,10 @@ def dump(file_name: str, data_dict: dict) -> None: if data_key in group_dict.keys(): fname.create_dataset( name="/" + group_dict[data_key], - data=np.void(cloudpickle.dumps(data_value)) + data=np.void(cloudpickle.dumps(data_value)), ) + def load(file_name: str) -> dict: """ Load data dictionary from HDF5 file