我已经看到了下载文件的文档。但是,我无法理解object
以下 api 中的内容:
download_object(obj, destination_path, overwrite_existing=False, delete_on_failure=True)[source]
Download an object to the specified destination path.
Parameters:
obj (Object) – Object instance.
destination_path (str) – Full path to a file or a directory where the incoming file will be saved.
overwrite_existing (bool) – True to overwrite an existing file, defaults to False.
delete_on_failure (bool) – True to delete a partially downloaded file if the download was not successful (hash mismatch / file size).
Returns:
True if an object has been successfully downloaded, False otherwise.
Return type:
bool