arsenal.pickle

Module Contents

arsenal.pickle.load_pickle(filepath: Union[str, Path]) → Any[source]

Load pickled data from disk

Parameters

filepath – Path to pickle file

Returns

Contents of pickle.

arsenal.pickle.save_pickle(obj: Any, filepath: Union[str, Path], protocol=pickle.DEFAULT_PROTOCOL)None[source]
Parameters
  • obj – The object to persist to disk

  • filepath – The path to save

  • protocol – The pickle protocol to use