(self, file_name: str)
| 109 | target_path.unlink() |
| 110 | |
| 111 | def check_dataset(self, file_name: str): |
| 112 | url = self.merge_remote_url(file_name) |
| 113 | resp = requests.get(url, stream=True, timeout=60) |
| 114 | status = True |
| 115 | if resp.status_code == 404: |
| 116 | status = False |
| 117 | return status |
| 118 | |
| 119 | @staticmethod |
| 120 | def _unzip(file_path: [Path, str], target_dir: [Path, str], delete_old: bool = True): |
no test coverage detected