Skip to content

Commit d385c08

Browse files
committed
修改注释
1 parent b24e85b commit d385c08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qiniu/services/storage/uploader.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def put_file(up_token, key, file_path, params=None,
6262
hostscache_dir: host请求 缓存文件保存位置
6363
version 分片上传版本 目前支持v1/v2版本 默认v1
6464
part_size 分片上传v2必传字段 默认大小为4MB 分片大小范围为1 MB - 1 GB
65+
bucket_name 分片上传v2字段 空间名称
6566
6667
Returns:
6768
一个dict变量,类似 {"hash": "<Hash string>", "key": "<Key string>"}
@@ -161,6 +162,7 @@ class _Resume(object):
161162
hostscache_dir: host请求 缓存文件保存位置
162163
version 分片上传版本 目前支持v1/v2版本 默认v1
163164
part_size 分片上传v2必传字段 分片大小范围为1 MB - 1 GB
165+
bucket_name 分片上传v2字段 空间名称
164166
"""
165167

166168
def __init__(self, up_token, key, input_stream, file_name, data_size, hostscache_dir, params, mime_type,

0 commit comments

Comments
 (0)