import pathlib
import typing
import pickle


def pickle_load(path:pathlib.Path) -> typing.Any:
    """object load using pickle.

    Parameters
    ----------
    path: Union[str, pathlib.Path]
        a saved object pickle path.
    """
    with open(path, mode='rb') as f:
        data = pickle.load(f)
    return data