code: def save_pickle(data: dict, fpath: Union[str, Path]) -> None:
      with open(fpath, "wb") as fout:
          pickle.dump(data, fout, protocol=4)
  
file_path: DeepPavlov/deeppavlov/core/common/file.py
imports: import json
  import pickle
  from collections import OrderedDict
  from logging import getLogger
  from pathlib import Path
  from typing import Union, Any, Iterable
  from deeppavlov.core.common.aliases import ALIASES
label_desc: Use image node_id 4 for calling a global function with example usage: save_pickle(data, fpath) without return types