

def local_restore(zip_path, to_environment):
    zip = zipfile.ZipFile(zip_path)
    with temp_directory() as temp_dir:
        zip.extractall(path=temp_dir)
        restore(temp_dir, to_environment)

dataset/ETHPy150Open monarch-org/monarch/monarch/local.py local_restore/original