获取文件分享的url 如果服务不支持直接访问文件,可以通过服务器中转下载。 此时,此方法可以调用 utils.py 中的 `get_file_url` 方法,获取服务器中转下载的url
(self, file_code: FileCodes)
| 42 | raise NotImplementedError |
| 43 | |
| 44 | async def get_file_url(self, file_code: FileCodes): |
| 45 | """ |
| 46 | 获取文件分享的url |
| 47 | |
| 48 | 如果服务不支持直接访问文件,可以通过服务器中转下载。 |
| 49 | 此时,此方法可以调用 utils.py 中的 `get_file_url` 方法,获取服务器中转下载的url |
| 50 | """ |
| 51 | raise NotImplementedError |
| 52 | |
| 53 | async def get_file_response(self, file_code: FileCodes): |
| 54 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected