Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 1, 2024
1 parent f55c2e2 commit eb6a4a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion executorlib/cache/hdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb6a4a3

Please sign in to comment.