获取文件响应 如果服务不支持直接访问文件,则需要实现该方法,返回文件响应 其余情况,可以不实现该方法
(self, file_code: FileCodes)
| 51 | raise NotImplementedError |
| 52 | |
| 53 | async def get_file_response(self, file_code: FileCodes): |
| 54 | """ |
| 55 | 获取文件响应 |
| 56 | |
| 57 | 如果服务不支持直接访问文件,则需要实现该方法,返回文件响应 |
| 58 | 其余情况,可以不实现该方法 |
| 59 | """ |
| 60 | raise NotImplementedError |
| 61 | |
| 62 | async def save_chunk(self, upload_id: str, chunk_index: int, chunk_data: bytes, chunk_hash: str, save_path: str): |
| 63 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected