obj (Dict[Any, Any]) – Object, usually a dictionary to write to pickle file.
path (Union[str, Path]) – Path to which pickle file should be written.
mode (Optional[str]) – Write mode. Default = “wb”
protocol (Optional[int]) – Pickling protocol. Default = pickle.HIGHEST_PROTOCOL