(self, save_path)
| 634 | await asyncio.to_thread(self._save, file, save_path) |
| 635 | |
| 636 | def _delete(self, save_path): |
| 637 | path = self._get_path_str(save_path) |
| 638 | try: |
| 639 | self.root_path.get_by_path(path).delete_object().execute_query() |
| 640 | except self._ClientRequestException as e: |
| 641 | if e.code == "itemNotFound": |
| 642 | pass |
| 643 | else: |
| 644 | raise e |
| 645 | |
| 646 | async def delete_file(self, file_code: FileCodes): |
| 647 | await asyncio.to_thread(self._delete, await file_code.get_file_path()) |
nothing calls this directly
no test coverage detected