import gzip
import pickle


def read_pickle(path: str) -> object:
    """Load a Python pickle that was compressed with Gzip.

    Args:
        path: Path to pickle

    Returns:
        Unpickled object
    """
    with gzip.open(path, 'rb') as f:
        return pickle.load(f)