(url_to_path: Dict[AnyStr, AnyStr], download_if_exists: bool = True)
| 174 | |
| 175 | |
| 176 | def download_files(url_to_path: Dict[AnyStr, AnyStr], download_if_exists: bool = True): |
| 177 | with ThreadPool() as pool: |
| 178 | pool.starmap( |
| 179 | partial(download_file, download_if_exists=download_if_exists), |
| 180 | url_to_path.items(), |
| 181 | ) |
| 182 | |
| 183 | |
| 184 | def is_exists_file_and_md5(name: AnyStr) -> bool: |
no test coverage detected